Commands provided by module:
| -- encrypt a string using blowfish |
| -- decrypt a string using blowfish |
| -- create a one way password hash using blowfish |
|
| -- encrypt a string using twofish |
| -- decrypt a string using twofish |
| -- create a one way password hash using twofish |
|
| -- encrypt a string using rijndael |
| -- decrypt a string using rijndael |
| -- create a one way password hash using rijndael |
|
- For all encryption/decryption functions, if no key is passed, the default key (defined in defkey.h) is used.
This key is dynamically generated during make.
|
Install:
- extract
- tar -zvxf crypto.mod-1.3.tar.gz
- cd crypto.mod
- make distclean
- ./configure
- make
That's it, you're done. Now, just copy 'crypto.so' to someplace accessible by your script, load it and enjoy.
NOTE: DO NOT SOURCE THIS...IT IS NOT A SCRIPT!
I use something like the following:
if {![string match *Crypto* [package names]]} { load crypto.so }
This assumes that crypto.so is located in your current working directory.
That's it, nothing more to say.