SHA256 How to get digest value in `unsigned char` format?
#6
The length of a normal sha256 hash is 64 hexadecimal characters and therefore 32 raw bytes. You are trying to use 4 ints of 4 bytes = 4 * 4 = 16 bytes. That's only half the bytes of the full hash.
Reply


Messages In This Thread
RE: SHA256 How to get digest value in `unsigned char` format? - by philsmd - 03-31-2019, 07:31 PM