ASP.net MD5 value not the same as Javascript MD5

From: Todd Prickett (QPCSDPTNTIYG@spammotel.com)
Date: 12/02/02


From: QPCSDPTNTIYG@spammotel.com (Todd Prickett)
Date: 2 Dec 2002 13:17:52 -0800


Hi all,
I'm trying to compare an MD5 hashed username/password/salt generated
on the client side against an MD5 of the same fields on the server
side, but am getting different values from the routines.

I'm using the MD5 routine built into the .net framework and I'm using
a Javascript routine found on Paj's homepage (seems to be quite
popular based on the number of references and links to this page). If
I create a hash with both routines, the result is vastly different.

Has anyone else used these two routines and gotten a match?

Does anyone know of a different client side routine that returns the
same MD5 as the .net framework?

TIA



Relevant Pages

  • use MD5
    ... I have MD5 config'ed and compiled and it is in my PATH variable. ... #> perl -de 1 ... Loading DB routines from perl5db.pl version 1.23 ...
    (perl.beginners)
  • Re: Some questions about cross memory services
    ... Depending on the design of the software and the number of PC routines ... address to the server so that the client can invoke the non-system LX ... The System-LX could perform SAF authority ...
    (bit.listserv.ibm-main)
  • Re: Template method pattern in Java ???
    ... >> world tends to call a purely abstract or purely deferred class. ... The contents of the routines are never disclosed, ... The client, and that's who we're writing the class ... doesn't see anything but the interface. ...
    (comp.lang.java.programmer)
  • Re: Template method pattern in Java ???
    ... >> world tends to call a purely abstract or purely deferred class. ... The contents of the routines are never disclosed, ... The client, and that's who we're writing the class ... doesn't see anything but the interface. ...
    (comp.lang.java.help)
  • Re: Template method pattern in Java ???
    ... >> world tends to call a purely abstract or purely deferred class. ... The contents of the routines are never disclosed, ... The client, and that's who we're writing the class ... doesn't see anything but the interface. ...
    (comp.object)

Quantcast