CryptoGo – An Easy Way To Encrypt And Password Protect Your Files
There are plethora of tools available to encrypt and password protect your files and folders. CryptoGo is one among them. It is a simple file encrypter for your day-to-day needs. Using CryptoGo, you can easily encrypt and protect important and sensitive files. It is written in GO programming language that is developed by Google. It is currently in beta stage, but fully functional.
Concerning about the features of CrptoGo, we can list the following:
- It is very easy to install and use.
- It encrypts and decrypts files faster.
- It Uses filecrypt libs.
- Galois/Counter Mode (GCM) encryption (Extra secure, harder to bruteforce)
- Encrypts files so they can’t be read unless the decrypter is used
- Protects your files with a password
First, you need to install GO programming language. Refer the following link to install Golang in various Linux platforms.
After installing Go language, you can install CryptoGO as described below.
Clone the CryptoGo repository using command:
git clone https://github.com/isfonzar/CryptoGo.git
The command will clone the latest source code to a directory called CryptoGo in your current working directory.
Go to the CryptoGo directory:
And run the following commands to install it.
go get -d
go build *.go
Next, create a symlink to the cryptogo executable bin file.
ln -s /root/CryptoGo/cryptogo /usr/bin/cryptogo
Here, /root/CryptoGo is a location where I cloned CryptoGo git repository.
Update path using command:
CryptoGo is installed now. Let us see how to use it in real time.
Encrypt And Password Protect Your Files
Once installed, you can encrypt a file as below.
cryptogo encrypt <path_to_your_file>
Similarly, to decrypt a file, run:
cryptogo decrypt <path_to_your_file>
Let me show you some examples.
To encrypt a file called ostechnix.txt, run:
cryptogo encrypt ostechnix.txt
You will asked to enter a password:
Enter password: Confirm password: Encrypting... File successfully protected
Make sure you have entered a strong password. Refer this guide to know more about Linux password policies.
Now, try to view or open the file. You can’t view the actual contents.
To decrypt the file, simply run:
cryptogo decrypt ostechnix.txt
Enter the passphrase you have given when encrypting the file. Done! Your file is decrypted.
Enter password: Decrypting... File successfully decrypted.
Here is the screenshot that shows the encryption and decryption process by CryptoGo.
For more details, run the following command to display the help section.
Like I said, CryptoGo is in early development stage, so use it with caution. Here is what I suggest the developer to improve it.
- It uses SHA1 for authentication which is a deprecated Hashing Algorithm and should not longer be used for any security purpose. It would be much better if the developer use Blake2b or Keccak/SHA3 for authentication.
- filecrypt has no protection against crashes by a short ciphertext, So the ciphertext length should be longer than the present one.
- It uses GCM mode for file encryption. However, the developer should consider using XTS mode over GCM mode for added security.
The code is available on GitHub. If you’re a developer, fork it and improve it if you want to.
And, that’s all. You now know how to encrypt and decrypt files using CryptoGo utility. As you can see, CryptoGo gives you an easy and simple way to encrypt and password protect the important files. Give it a try, you won’t be disappointed.
I will be soon here with another guide. If you find this guide useful, please share it on your social networks and support OSTechNix.
Thanks for stopping by!
How can I benefit from this blog:
- Subscribe to our Email Newsletter : Sign Up Now
- Download free E-Books and Videos : OSTechNix on TradePub
- Connect with us: Facebook | Twitter | Google Plus | LinkedIn | RSS feeds
Have a Good day!!