[jdev] handshake (in php) - compute 16 octet md5 hash

Charlie Stoytgevich stoytgevich at gmail.com
Tue Sep 7 15:13:41 CDT 2010


http://web.archive.org/web/20050224191820/http://cataclysm.cx/wip/digest-md5-crash.htmlstates


   1. Create a string of the form "username:realm:password". Call this
   string X.
   2. Compute the 16 octet MD5 hash of X. Call the result Y.
   3. etc etc...

im stuck on number two. according to another post i read, i either

1) should not use md5 at all or else
2) hex encode, then convert to 16 octet

id like a clarification of this, and if possible a solution i could
implement (php if possible). any help would be much appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20100907/286b16e0/attachment.htm>


More information about the JDev mailing list