OpenSSL
#openssl enc -aes-256-cbc -salt -in msg.txt -out msg.txt.enc#openssl enc -aes-256-cbc -d -in msg.txt.enc -out msg.txt#date | openssl enc -aes-256-cbc -salt -out msg.txt.enc#openssl enc -aes-256-cbc -d -in msg.txt.enc > msg.txt
GnuPG
#gpg --cipher-algo AES256 --symmetric -o msg.txt.enc msg.txt#gpg --decrypt -o msg.txt msg.txt.enc#date | gpg --cipher-algo AES256 --symmetric -o msg.txt.enc#gpg --decrypt msg.txt.enc > msg.txt
Mcrypt
#mcrypt --algorithm rijndael-256 --bare msg.txt#mcrypt --algorithm rijndael-256 --bare --decrypt msg.txt.nc#date | mcrypt --algorithm rijndael-256 --bare > msg.txt.nc#cat msg.txt.nc | mcrypt --algorithm rijndael-256 --bare --decrypt > msg.txt
Ccrypt
#ccrypt --encrypt msg.txt#ccrypt --decrypt msg.txt.cpt#date | ccrypt --encrypt > msg.txt.cpt#cat msg.txt.cpt | ccrypt --decrypt > msg.txt
No comments:
Post a Comment