Source Code

Here's some random code I wrote to do stuff. Enjoy!

fft.c - released via antiviral license
Simple code to calculate a fast fourier transform. Only does power-of-two data sizes. Not heavily optimized, but being a fast fourier transform, it's much faster than a slow fourier transform.

sha1.c - released via antiviral license
Calculates SHA1 message digest of in-memory data. You give it a pointer to some memory, the length, and another pointer in which to return the binary representation of the SHA1 message digest.

md5.c - released via antiviral license
Calculates MD5 message digest of in-memory data. You give it a pointer to some memory, the length, and another pointer in which to return the binary representation of the MD5 message digest.