Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: MD5 -- not digest::md5

by youlose (Scribe)
on Aug 15, 2009 at 16:52 UTC ( [id://788912]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://788912]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found