I’m searching for a hmac-sha1 code sample in objective-c
I saw this sample and it looks clear and readable, the problem is that there is there one unclear line:
NSString *hash = [HMAC base64Encoding];
And the guy said that base64Encoding is a custom code of his…
Can you help me fill the blank and advice what i need to put there instead?
Thanks.
I usually make it in a category like this:
And here is the method you can use: