Initial commit of code from circa March 2008.
Add some comments; pad blocks according to PKCS #5