http://belgorod.lug.ru/wiki/index.php/Создание_шифрованного_файла_в_Linux
шифровать
openssl enc -e -aes-256-cbc -k ПАРОЛЬ -in ./file -out ./file.encoded
или
cat ./file | openssl enc -e -aes-256-cbc -k ПАРОЛЬ > file.encoded
дешифровать
openssl enc -d -aes-256-cbc -k ПАРОЛЬ -in ./file -out ./file.encoded
или
cat ./file.encoded | openssl enc -d -aes-256-cbc -k ПАРОЛЬ > ./file
carerakjan says:
гениально и просто..
+ спасибо за ссылку… интересный ресурс по linux.