In the SHA-512 hash function, What is the value of the length field if the length of the message is 1921 bits? Show your work.
In SHA-512 the size of the blocks is 1024 bit. The last block must contain:
If the message is 1921 bit length:
The answer will be:
size of padding field = 1023 bits
data of length field = 1921 as an unsigned 128-bit big endian integer 0x00000000000000000000000000000781
DIVISION |
RESULT |
REMAINDER (in HEX) |
1921 / 16 |
120 |
1 |
120 / 16 |
7 |
8 |
7 / 16 |
0 |
7 |
781 |
Get Answers For Free
Most questions answered within 1 hours.