as I’m very new to this field i don’t have much knowledge in this domain. I want to achieve SHA-512 secure hashing in my Application. I’ using,
EVP_get_digestbyname((const char*)[digestName UTF8String]);
and passing ‘SHA512’ in digestname…it was working when i was passing SHA1, but will it work when I pass SHA512 as parameter?
If you just want a SHA-512 hash, use
CC_SHA512or the related functions. Runman CC_SHA512in Terminal for information.If you want a SHA-512 HMAC, use
CCHmacor the related functions, withkCCHmacAlgSHA512as the algorithm argument. Runman CCHmacin Terminal for information.