Skip to content

valiyyaddin/enc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enc

Enc is a command-line tool for encrypting and decrypting files and folders using AES encryption. Encrypted files can only be decrypted with the key specified by the user.

Features

  • Encrypt files and folders
  • Decrypt encrypted files and folders with the user-specified key

Installation

Clone the repository to your local machine:

git clone https://github.com/martian58/enc.git
cd enc 
chmod +x install_requirements
chmod +x enc
./install_requirements

For global usage

sudo cp enc /bin

Usage

To encrypt a file:

enc --encrypt f <file_path>

To encrypt a folder:

enc --encrypt F <folder_path>

To decrypt an encrypted file:

enc --decrypt f <file_path>

To decrypt an encrypted folder:

enc --decrypt F <folder_path>

You will be prompted to enter the encryption/decryption key, which must be at least 16 characters long.

Example

Encrypt a file:

enc --encrypt f secret.txt

Decrypt the encrypted file:

enc --decrypt f secret.txt

Encrypt a folder:

enc --encrypt F secret_folder

Decrypt the encrypted folder:

enc --decrypt F secret_folder

Note

Make sure to keep your encryption key secure. Once a file or folder is encrypted, it can only be decrypted with the correct key.

License

This project is licensed under the terms of the GNU General Public License (GPL) version 3. See the LICENSE file for details.

About

Encrypt your files and directories with enc

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%