How to install AES Crypt in linux to encrypt and decrypt your files

AES Crypt is a simple tool to encrypt end decrypt your files. You can do it without being expert in either linux and/or cryptography. If you are simply familiar with linux shell, you have more than enough knowledge to use AES Crypt.

AES Crypt is a file encryption software product available on several operating systems that uses the industry standard Advanced Encryption Standard (AES) to easily and securely encrypt files.

However, you might have needed root privilege if AES Crypt is not installed in your computer and you want to install it. The installation is also as easy as pie. Just look below:

Installation

Visit download page of AES Crypt and copy the download link of AES Crypt source code for linux.

SSH to your server as root and run the following commands:

wget http://www.aescrypt.com/cgi-bin/download?file=v3/aescrypt305_source.tar.gz

tar -zxf download?file=v3%2Faescrypt305_source.tar.gz

Now the AES Crypt source is extracted. The download link and filename may differ version to version. Follow on…

cd aescrypt305_source/

make

make install

That’s it. If you don’t see any error message, AES Crypt is installed fine.

Now you may encrypt and decrypt any file easily.

Encryption

aescrypt -e -p passkey archive.zip

This command will encrypt archive.zip with passkey. Remember this passkey. This is your key to decrypt this file. When the encryption is completed, you will see a new file archive.zip.aes. This is your encrypted file. You may store it for future use. Again, if you forget your passkey, you will loss this file too.

Decryption

aescrypt -d -p passkey archive.zip.aes

This will decrypt the file archive.zip.aes and will restore to its previous state.

You can get more examples here.

  • Kristina

    very useful, thank you!!

  • nabila mohamed

    when i want to install, it turns out to be like this:

    root@anomy:~/Desktop/aescrypt-3.0.9# make
    make: *** No targets specified and no makefile found. Stop.

    why this happen? please help me.
    thank you

  • The HungryCoder

    You are probably in wrong directory. You need to enter into src directory first. So it will be like ‘cd ~/Desktop/aescrypt-3.0.9/src’. Then run the ‘make’ command.

  • Drew Decker

    You need to be in the src directory…and then run make