https://github.com/martian58/enc
Encrypt your files and directories with enc
https://github.com/martian58/enc
data-encryption directory-encryption encryption encryption-decryption file-encrypter file-encryption
Last synced: 6 months ago
JSON representation
Encrypt your files and directories with enc
- Host: GitHub
- URL: https://github.com/martian58/enc
- Owner: martian58
- License: gpl-3.0
- Created: 2024-02-08T04:53:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-01T08:59:44.000Z (about 1 year ago)
- Last Synced: 2024-11-09T00:14:30.204Z (7 months ago)
- Topics: data-encryption, directory-encryption, encryption, encryption-decryption, file-encrypter, file-encryption
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
git clone https://github.com/martian58/enc.git
cd enc
chmod +x install_requirements
chmod +x enc
./install_requirements
```
## For global usage
```bash
sudo cp enc /bin
```## Usage
To encrypt a file:
```bash
enc --encrypt f
```To encrypt a folder:
```bash
enc --encrypt F
```To decrypt an encrypted file:
```bash
enc --decrypt f
```To decrypt an encrypted folder:
```bash
enc --decrypt F
```You will be prompted to enter the encryption/decryption key, which must be at least 16 characters long.
## Example
Encrypt a file:
```bash
enc --encrypt f secret.txt
```Decrypt the encrypted file:
```bash
enc --decrypt f secret.txt
```
Encrypt a folder:
```bash
enc --encrypt F secret_folder
```
Decrypt the encrypted folder:
```bash
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.