Archive for February, 2007
using openssl to encrypt/decrypt content
Here you can find and sample on how to encrypt and decrypt content using OPENSSL.
This sample goes with 3DES but it is valid for other chiphers. Notice the password will be requested to do the encryption.
- Encoding foo.txt
$ openssl enc -des3 -in foo.txt -out foo.3des
$ openssl enc -d -des3 -in foo.3des -out bar.txtNo comments