hyuri: (Thoughtful)
[personal profile] hyuri
writing 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.)

Date: 2004-07-19 04:36 pm (UTC)
From: [identity profile] soltice.livejournal.com
I did that once in a language called Haskell. It took over a week to write, although it was less than a page long...

Date: 2004-07-19 04:50 pm (UTC)
From: [identity profile] hyuri.livejournal.com
I look at Haskell and I get lost. Quickly. Also confused. I dunno why, but the syntax annoys me.

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.

Profile

hyuri: (Default)
hyuri

November 2014

S M T W T F S
      1
2345678
9101112131415
161718192021 22
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 23rd, 2026 08:41 pm
Powered by Dreamwidth Studios