Jun 182010
Simple file encryption with OpenSSL
Answer:
You have a single file (input.txt), and you want to encrypt it with a password, it is easy with OpenSSL.
# openssl aes-128-cbc -salt -in input.txt-out input.aes
Enter the password twice.
When you want to decrypt it, use the command.
# openssl aes-128-cbc -d -salt -in input.aes -out output.txt