CCHmac(CCHmacAlgorithm algorithm, const void *key, size_t keyLength,
const void *data, size_t dataLength, void *macOut);
- What will be the key?
- what will be the data?
- what will be the macOut?
For example, I have API:
https:// somedomain/ beta/ men? key=[API KEY]&signature=[Signature]}
How can I pass API key to CCHmac function and get the signature and make the complete API, e.g.:
https:// Somedomain/ beta/ men? key="Abcdefghi12345"&signature=jhfjkshkjfhsdkfhkshdkjfioeoiejafjnanjasbjfs="}
Can someone provide me good tutorial or sample code for CCHmac
function? I looked on the web but I don't find anything.