[openssl-users] Valid strings to be passed to EVP_get_digestbyname()

Nayna Jain naynjain at in.ibm.com
Thu Feb 18 11:41:17 UTC 2016


Hi,

I am trying to use EVP APIs for generating sha256 hashes.

I think of the step is to pass the digest name to EVP_get_digestbyname()
and get the EVP_MD* structure

However, I am not able to find the valid string to be passed for SHA256
hash algorithm..  I tried passing "sha256", "SHA256", it shows "unknown
message digest"

Tried to do doc and google search, couldn't find the list of valid strings.

Can someone please help me with this ?


Thanks & Regards,
Nayna Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160218/bc5382cb/attachment.html>


More information about the openssl-users mailing list