База знаний
Encrypt file with mcrypt or OpenSSL
mcrypt (http://mcrypt.sourceforge.net)
Encrypt:
mcrypt data.txt
Enter passphrase:
Decrypt:
mcrypt -d data.txt.nc
Enter passphrase:
openssl (http://www.openssl.org)
Encrypt:
openssl enc -aes-256-cbc -salt -in file.txt -out file.out
Enter aes-256-cbc encryption password:
Decrypt:
openssl enc -d -aes-256-cbc -in file.out -out file2.txt
Enter aes-256-cbc encryption password:
Use encryption for backups!