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.
- Encrypt files and folders
- Decrypt encrypted files and folders with the user-specified key
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_requirementssudo cp enc /binTo 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.
Encrypt a file:
enc --encrypt f secret.txtDecrypt the encrypted file:
enc --decrypt f secret.txtEncrypt a folder:
enc --encrypt F secret_folderDecrypt the encrypted folder:
enc --decrypt F secret_folderMake sure to keep your encryption key secure. Once a file or folder is encrypted, it can only be decrypted with the correct key.
This project is licensed under the terms of the GNU General Public License (GPL) version 3. See the LICENSE file for details.