Encripta

openssl enc -aes-256-cbc -salt -pbkdf2 -in archivo.txt -out archivo.txt.enc

borramos el archivo

rm archivo.txt

Desencripta

openssl enc -d -aes-256-cbc -salt -pbkdf2 -in archivo.txt.enc -out archivo.txt