File Encryption/Decryption with AES using Linux
The quickest and easiest way is to use openssl
util (provided by openssl-util
package). For example, to encrypt a file, issue the following command:
openssl enc -aes-256-cbc -in file.txt -out file.enc
To decrypt:
openssl enc -d -aes-256-cbc -in file.enc -out file.dec