?

Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

MD5 Java Library? [Aug. 4th, 2003|07:21 pm]
LiveJournal Client Discussions

lj_clients

[morallybass]
[music |Blueprint - Paradise]

Does anyone know where I can find a library for generating an MD5 hash for use with the livejournal xml-rpc?
linkReply

Comments:
From: karma_chonyi
2003-08-04 09:17 pm (UTC)
A fairly easy way to turn any byte into it's hex representation, if this is necessary, might be to use Integer.toHexString((int) byteValue); The return value of this call being a string. The entire array could be processed like this, and thrown together in a StringBuffer.

Probably won't get to messing with this tonight. I have the jLiveJournal client code, looked through it briefly, and it seems to use the plaintext password rather than the MD5 hash option.
(Reply) (Parent) (Thread)