03-31-2019, 07:31 PM
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.
SHA256 How to get digest value in `unsigned char` format?
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
SHA256 How to get digest value in `unsigned char` format? - by LeMoussel - 03-30-2019, 09:29 AM
RE: SHA1 How to get digest value in `Byte` format? - by philsmd - 03-30-2019, 10:00 AM
RE: SHA256 How to get digest value in `Byte` format? - by LeMoussel - 03-30-2019, 10:43 AM
RE: SHA256 How to get digest value in `unsigned char` format? - by philsmd - 03-30-2019, 11:50 AM
RE: SHA256 How to get digest value in `unsigned char` format? - by LeMoussel - 03-31-2019, 06:12 PM
RE: SHA256 How to get digest value in `unsigned char` format? - by philsmd - 03-31-2019, 07:31 PM
RE: SHA256 How to get digest value in `unsigned char` format? - by LeMoussel - 04-01-2019, 08:30 AM
RE: SHA256 How to get digest value in `unsigned char` format? - by philsmd - 04-01-2019, 08:35 AM
RE: SHA256 How to get digest value in `unsigned char` format? - by LeMoussel - 04-01-2019, 08:47 AM
|