Use openssl to encrypt and decrypt files

To encrypt a file:

openssl enc -salt -aes-256-cbc -in <input file> -out <output file> -md sha512

To Decrypt a file:

openssl enc -aes-256-cbc -d -in <input file> -out <output file> -md sha512

In both cases it will prompt for a password.