How to Encrypt Your Files Easily with File-Encryptor

Are you looking for a simple and effective way to secure your files?

You’re in luck! I’ve found a handy little tool called File-Encryptor, a program developed in Rust that allows you to encrypt and decrypt your files in no time.

This program uses the AES-GCM (Advanced Encryption Standard-Galois/Counter Mode) encryption algorithm, known for being very robust, with a 256-bit key. The big advantage of File-Encryptor is that it supports password-based encryption. This way, you don’t need to carry around a USB stick with your precious encryption key. You just choose a secret phrase, and presto, your files are encrypted in no time. And if you want to add an extra layer of security, you can even add some authentication data as a bonus (like your email, for example).

In short, if you have sensitive documents to send by email or via a USB stick, or if you want to make a secure backup of your precious files on a cloud or an external hard drive, just give File-Encryptor a try, and you can sleep soundly.

Enough talk, let me give you a quick demo to show you how it works.

Step One: Generate an Encryption Key.

Open a terminal and type:

file-encryptor keygen > mykey.key

You can also use the -p or --password option to generate a key from a password of your choice. For example:

file-encryptor keygen -p "password123" > mykey.key

Note that the generated AES256 key is obtained by hashing your password with the SHA256 algorithm. Good to know!

Now, let’s move on to the actual encryption. Suppose you have a text file named “secret.txt” that you want to encrypt. It’s very simple:

file-encryptor seal secret.txt < mykey.key > secret.encrypted

And if you want to add authentication data, include the -a option followed by a string, like your email:

file-encryptor seal secret.txt -a "james@bond.mi6" < mykey.key > secret.encrypted

To decrypt your file, it’s just as easy. Simply type:

file-encryptor open secret.encrypted < mykey.key > secret.decrypted.txt

And don’t forget to specify the authentication data if you used it during encryption:

file-encryptor open secret.encrypted -a "james@bond.mi6" < mykey.key > secret.decrypted.txt

And there you have it! You now know how to encrypt and decrypt files like a pro with File-Encryptor. Honestly, it’s not complicated and can come in handy in many situations.

Click here to get your hands on this handy little tool. And remember: paranoia is your best friend in this brute (force) world!

See you soon on Tech To Geek.

Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1725

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

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