Help wanted with md2 hash algorithm

wjb131 at web.de wjb131 at web.de
Mon Jan 9 18:07:59 EST 2006


Paul Rubin wrote:
> wjb131 at web.de writes:
> > I want to understand it, and -- therefor ;-) -- I want to implement it
> > in pure Pyhton.
>
> OK.  It should be pretty easy to implement.  You should find the
> official rfc at ietf.org.  I remember there was some minor erratum in
> the original version that may or may not have been corrected, but it
> shouldn't cause any serious confusion.  I implemented it in Javascript
> a long time ago and as I remember, all the test vectors passed.

I thought I had build a proper implementation in Python. The error you
mention can be avoided by studying the C implementation in RFC 1319.
BUT: Some of the test vectors failed. That's my problem ;-(
And therefore I asked for help.
Wolfgang




More information about the Python-list mailing list