November
18
Linux: Encrypt a file
openssl
openssl enc -aes-256-cbc -iter 1000 -in myfile.txt -out mysecurefile.txt
openssl enc -aes-256-cbc -iter 1000 -d -in mysecurefile.txt -out myfile.txt
gpg
gpg –cipher-algo AES256 -c myfile.txt
gpg –output list.txt –decrypt myfile.txt.gpg