Computer Science, asked by kandukurisupriya14, 1 year ago

What is the length of a message in SHA512 after padding?

Answers

Answered by writersparadise
0

SHA-512 is one of the six hash functions with digests of the SHA-2 family. It operates on or is computed with 64-bit words. In other words, it functions on a 1024-bit message block with a 512-bit intermediate hash value.

The total length of a message in SHA-512 after padding is a multiple of 512.

Answered by pagarmayank07
0

Answer:896

Explanation:Suppose, we have a message M of L bits. As we know, in the case of SHA 512, the

block size is 1024. If the message is not a multiple of 1024, we need to add the rest of the bits (say k bits with additional starting ‘1’). However, the last block contains the length of the message as well. In the case of SHA 512, the maximum message length

can be 2^128. Therefore, for representing the length of the message, we need 128 bits.

Therefore, length of the message after padding = 1024-128=896

Similar questions