By gst
via philchen.com
Submitted: Oct 02 2007 / 01:38
If you have a scenerio when encryption is necessary for your data, a perl script utilizing the Crypt::Blowfish module to get the job done may be your answer. The code is pretty straight foward however it has an additional padding section which helps you negotiate data not matching your designated encryption key size.
The first script encrypts and pads data from a plaintext.txt file using Crypt::Blowfish into a ciphertext.txt file. The second script decrypts the cipher and writes it to a file.
Add your comment