This question is about creating a SHA-1 hash from an array of data in C using OpenSSL .
It returns an array of 20 bytes containing a hash. Is there a standard way to represent data in string form, and not in binary format?
If so, is there a function in OpenSSL to convert to the specified string format?
If not, how to do it? Of course, I can come up with my own encoding, use base64 or not, but is there any canonical format?
c ++ c openssl hash
Prof. Falken
source share