Encrypt file with OpenSSL

To encrypt a file using AES with a 256 bit key-length:
openssl enc -e -aes-256-cbc -salt -in filename.odp -out filename.odp.enc

To decrypt the file:
openssl enc -d -aes-256-cbc -in filename.odp.enc -out filename.odp

Comments