Re: MD5 Hash Algorithm
From: Ted Huffmire (huffmire_at_earthlink.net)
Date: 07/29/04
- Next message: Tom St Denis: "Re: Erasing an OTP file on a SD card."
- Previous message: Tom St Denis: "Re: Append IV to ciphertext?"
- In reply to: Michael Amling: "Re: MD5 Hash Algorithm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Jul 2004 06:51:37 -0700
Thanks! The first call to Update() puts the
message in the buffer but doesn't call Transform().
The second call to Update() puts the padding in the
buffer but doesn't call Transform(). The third call
to Update() puts the count into the buffer and
then calls Transform().
Michael Amling <nospam@nospam.com> wrote in message news:<yYXNc.3317$YK2.962@newssvr15.news.prodigy.com>...
> Are you talking about the MD5Transform function in the reference
> implementation of MD5 in Appendix A of RFC 1321? For a message of less
> than 56 bytes, it's only called once. You couldn't get the correct
> answer by calling more than once without re-initializing the context->state.
>
> --Mike Amling
- Next message: Tom St Denis: "Re: Erasing an OTP file on a SD card."
- Previous message: Tom St Denis: "Re: Append IV to ciphertext?"
- In reply to: Michael Amling: "Re: MD5 Hash Algorithm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|