Well, it's been such a long time since I came out with a new module (if you don't count the one from a week or so ago :-p ), that I thought I should just knock together something for the weekend.
The Crypto module uses OpenSSL's crypto libs ( "libcrypto" on Linux/Mac and "eay32.dll" on Win32) to do all the hard work of ciphering.
It currently supports BlowFish, CAST, DES, RC2, RC4 and RC5, in various modes (see HERE for a good description of the modes and how they work).
Currently only tested on OS X, which has OpenSSL installed by default. Linux should be okay too, as most distros package OpenSSL, although you may need to download the Dev package.
On Win32, you'll need the OpenSSL DLLs. I've shipped the MinGW .a and includes, so it might compile. (Haven't tested this yet.. Later today hopefully - once Eskom turn the power back on - bloody rolling blackouts!)
Available in SVN only until it's all working fine on all platforms...
http://code.google.com/p/maxmods/wiki/CryptoModule
:o)
Oh, and I hope to be adding Digest support in the not too distant future too. (eg. HMAC, MD2, MD5, MDC2, SHA and RIPEMD-160)
The Crypto module uses OpenSSL's crypto libs ( "libcrypto" on Linux/Mac and "eay32.dll" on Win32) to do all the hard work of ciphering.
It currently supports BlowFish, CAST, DES, RC2, RC4 and RC5, in various modes (see HERE for a good description of the modes and how they work).
Currently only tested on OS X, which has OpenSSL installed by default. Linux should be okay too, as most distros package OpenSSL, although you may need to download the Dev package.
On Win32, you'll need the OpenSSL DLLs. I've shipped the MinGW .a and includes, so it might compile. (Haven't tested this yet.. Later today hopefully - once Eskom turn the power back on - bloody rolling blackouts!)
Available in SVN only until it's all working fine on all platforms...
http://code.google.com/p/maxmods/wiki/CryptoModule
:o)
Oh, and I hope to be adding Digest support in the not too distant future too. (eg. HMAC, MD2, MD5, MDC2, SHA and RIPEMD-160)