iPhone: convert string using HMAC-SHA1
Posted
by Rupesh
on Stack Overflow
See other posts from Stack Overflow
or by Rupesh
Published on 2010-03-26T07:02:34Z
Indexed on
2010/03/26
8:43 UTC
Read the original article
Hit count: 620
hi all,
i want to generate HMAC-SHA1 of NSString type variable. I see the post but this method give me error in CCHmac(kCCHmacAlgSHA256, cKey, strlen(cKey), cData, strlen(cData), cHMAC);
and
NSString *hash = [HMAC base64Encoding];
line.
Please suggest how can I generate the HMAC-SHA1 of any string.
© Stack Overflow or respective owner