Pregunta

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?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top