in reply to Re^2: MD5 -- not digest::md5
in thread MD5 -- not digest::md5

my $H0 = 0x67452301; my $H1 = 0xefcdab89; my $H2 = 0x98badcfe; my $H3 = 0x10325476;
i think error is there, this values must be other. Read http://www.faqs.org/rfcs/rfc1321.html

Replies are listed 'Best First'.
Re^4: MD5 -- not digest::md5
by pKai (Priest) on Aug 15, 2009 at 21:07 UTC

    From the the code in the RFC you cited:

    context->state[0] = 0x67452301; context->state[1] = 0xefcdab89; context->state[2] = 0x98badcfe; context->state[3] = 0x10325476;

    These numbers look pretty much identical to the ones in the Perl code in the OP to me.