Encrypt and decrypt files in Ubuntu with ccrypt
ccrypt is a utility for encrypting and decrypting files and streams. It was based on Rijndael cipher, which was chosen candidate by U.S. government's for Advance Encryption Standard. This cipher is believed to provide a very strong security.
1. Install CCrypt from repo
sudo apt-get install ccrypt
2. To encrypt a file, use one of the following command,
ccrypt -e file_name or ccencrypt file_name
3. It will prompt you for Encryption Phrase aka Password, enter it. for example,
ccrypt -e sample.text
Enter encryption key: your_key
Enter encryption key: (repeat) your_key
Note: Don't forget the encryption phrase, there is no way to get back the original file without it.
Paul Labis is a young software engineer who is passionate in programming. He is one of the co-founder of CDO-IT Group and an expert in web-based Java programming. He is a graduate of BS-Information Management in Ateneo de Cagayan-Xavier University and an experienced software engineer with focus on Java technologies.