Anthony Ortiz <[EMAIL PROTECTED]> writes:

> sid = s5b_8e463861b5e6bc04
> from = [EMAIL PROTECTED]/Psi
> to = [EMAIL PROTECTED]/JClient
>
> // using libidn/java/gnu/inet/encoding/Stringprep.java -- too boring
> to implement, thk god I found this!
> String SocksHost = SHA1(sid + Stringprep.nameprep(from + to)); // HASH
> OUTPUT=9134A1B74EB358B866C604B1E1B0DDEE0D664967

$ echo -n [EMAIL PROTECTED]/[EMAIL PROTECTED]/JClient | sha1
5b3427312a46e4f44958cda3e0be1cd94bdd813f

I'm not sure what goes wrong here...

Magnus

_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to