ciphergoth: (Default)
[personal profile] ciphergoth
You might see a lot of me on LJ today - I've got this cold that's been going around, and sleeping has been troublesome, so I'm alternately fiddling with the computer from bed and sleeping...

Update: And here's the sort of thing I get up to when I should be doing something useful - shaving four characters off the shortest implementation of RC4 in Perl. (Theirs is 193 chars, mine is 189)
#!/usr/bin/perl -0777
sub Q{$s[($_[0]+=$_[1])%=@s]}sub S{@s[$x,$y]=@s[$y,$x]}@k=map
hex,pop=~/../g;S Q$y,$k[$x%@k]+Q$x,$_>0for@s=0..255;$x=$y=0;print
chr($_^Q S Q$y,Q$x,1)for unpack'C*',<>

Date: 2003-09-29 04:18 am (UTC)
From: [identity profile] atommickbrane.livejournal.com
Hello petal. Found a flat yet? I have the day off - thought I would need it for moving but we got it all done at the weekend and I'm not wasting a lovely day relaxing in my new flat by going to WORK :)

Profile

ciphergoth: (Default)
Paul Crowley

January 2025

S M T W T F S
   1234
5678 91011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 13th, 2026 04:44 am
Powered by Dreamwidth Studios