frustration:
Jul. 19th, 2004 03:47 amwriting a (very limited, very primitive) pseudo–XML‑RPC library from scratch. also, implementing the client side of the LJ challenge/response authentication method. (getting a challenge is easy. generating the response is easy. setting up the timer is, ah... somewhat puzzling.)
no subject
Date: 2004-07-19 04:36 pm (UTC)no subject
Date: 2004-07-19 04:50 pm (UTC)I also apparently mis‑judged the difficulty of generating the response. .NET (text) is based around 16‑bit chars, and the MD5 functions take an array of 8‑bit bytes or a Stream as an argument. Conversion isn’ playing by the obvious rules (convert the string to a byte array, feed it through and get an MD5 hash, use the resulting object’s ToString() method...
Maybe it’ll make sense after I get some sleep.