Back to Top

Encrypting a file In LINUX

Updated 12 April 2014

Sending and receiving files in a plane text is vulnerable to attacks. So we can eaisly encrypt a file using this method in linux

For Encryption–

#openssl enc -aes-256-cbc -e -in <plain_text_file> \out <encrypted_file_name>

For Decryption—

#openssl enc -aes-256-cbc -d -in <encrypted_file_name> \-out <plain_text_file>

Start your headless eCommerce
Find out More

File will ask for the password (passphrase) so that unauthorised acces to this file can be prevented.


Enjoy secure sharing  🙂

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home