Saturday, March 15, 2014

Encrypt file using openssl

1- install openssl

apt-get install openssl

2- encrypt -- decrypt

Encryption:

    openssl aes-256-cbc -in attack-plan.txt -out message.enc

Decryption:

    openssl aes-256-cbc -d -in message.enc -out plain-text.txt

No comments:

Post a Comment