From: Siddu <sid...@gm...> - 2010-08-06 16:09:24
|
Hello Everyone, I have tough time cracking out how the syncml md5 digest is created .... Here is my understanding Lets say Username="Bruce1" Password="OhBehave" and lets say Nonce="Nonce" /* I have taken the example from the Syncml Representation Protocol */ and for the below Format and Type <Format xmlns='syncml:metinf'>b64</Format> <Type xmlns='syncml:metinf'>syncml:auth-md5</Type> This is how the md5 digest is calculated md5(b64(md5(Bruce1:OhBehave)):Nonce) Is this correct ? If Yes then my result is not matching with what is given as below in the http://www.openmobilealliance.org/tech/affiliates/syncml/syncml_represent_v11_20020215.pdf <Cred> <Meta><Type xmlns='syncml:metinf'> syncml:auth-md5</Type></Meta> <Data>Zz6EivR3yeaaENcRN6lpAQ==</Data> <!— Base64 coded MD5 digest, for user “Bruce1”, password “OhBehave”, nonce “Nonce” " --> </Cred> Please help me out ! Thanks in advance -- Regards, ~Sid~ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *Gazing through the window at the world outside, Wondering will mother earth survive ? Hoping that the mankind will stop abusing her Sometime !* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |