March 25, 2009
... or so you'd think. Java lacks one crucial element for doing serious math/crypto work directly: the unsigned byte. The thing java calls a byte contains signed values in the range from -128 to 127. This is an amazingly frustrating thing to discover in the midst of attempting to implement any algorithm that requires real bit twiddling. You can still do it, but you constantly have to work around the fact that you're working with a signed byte, and the fact that Java will refuse to assign it a value like 0xff. The frustrating thing is that it wouldn't have been hard to add an unsigned byte to Java as a primitive type, but for some reason the Sun guys thought they could do without. I managed do implement RSA in Java well enough, but I tired rather quickly of trying to do AES with it, and ended up going to MatLab.
Yeah, I know, copout on my part. It was a class assignment, though, and the language chosen didn't matter, only that the steps were illustrated, and finding MatLab code for AES was trivial. Next time, though, I'm ready.
March 03, 2009
“One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary.”
—Ayn Rand, 1975
CAFE, crippling taxes, and government-backed organized crime (i.e. UAW), leading right up to now, when articles like this can be written and taken seriously. Deliberate? No, I'm not saying there's a conspiracy here, but damned if it didn't just sorta end up that way.
March 02, 2009
Upside? My '02 Altima has a higher blue book value than the median December home sale price for Detroit. This is a city run by democrats for longer than any of its residents has been alive. I'm sure it's just a coincidence that it's an absolute shithole.
55 queries taking 0.0093 seconds, 184 records returned.
Powered by Minx 1.1.6c-pink.