Re: Comaprison between MD5 and SHA




Kristian Gjøsteen wrote:
That calculation is obviously irrelevant, since MD5 doesn't have an
upper limit to its input length.

While RFC 1321 does permit longer messages it's clear that it's not a
good idea as you could have two messages of different length with equal
length encodings.

.... forget the fact the message would be 2^61 bytes long...

:-)

Tom

.