Question

The title of the question describes everything.
As described on http://en.wikipedia.org/wiki/SHA-1#Comparison_of_SHA_functions
Why is the maximum message size for the SHA-1 hash function limited to (2^64) - 1 bits?

Était-ce utile?

La solution

Since in hash finalization the unsigned 64-bit message length is appended to the last block and hashed.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top