سؤال

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?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top