[jdev] SASL debugging
Yves Goergen
nospam.list at unclassified.de
Fri Dec 9 08:44:20 CST 2005
On 09.12.2005 15:23 (+0100), Norman Rasmussen wrote:
> this is breaking stuff:
>
> foreach (byte b in n)
> hex += b.ToString("x2");
>
> try:
>
> foreach (byte b in n)
> hex += b.ToString("x02");
Sorry, this isn't it. And to be honest, I didn't expect this to make a
difference. (What is that "0" good for anyway?) I found this call on
dotnet247 as solution to converting stuff in hexadecimal. It's even
already in lower-case.
The whole point seems to go wrong for A1. That part is somehow
calculated wrong. And even if I set A1 to the supposed correct value
("fippo" gave me his results today), still response would be wrong. Does
Microsoft calculate MD5 somehow different? I can't see any other
problem.... Maybe I should retry it in PHP, its MD5 function has proven
to be correct already.
--
Yves Goergen "LonelyPixel" <nospam.list at unclassified.de>
"Does the movement of the trees make the wind blow?"
http://newsboard.unclassified.de - Unclassified NewsBoard Forum
More information about the JDev
mailing list