AES-256 CLI tool for encrypting and decrypting .txt files
Project description
🔐 cli-encrypt-txt
A simple and secure CLI tool to encrypt and decrypt text files with a password. Ideal for protecting sensitive information, storing credentials, or creating your own minimal password manager.
✨ Features
- 🔐 Encrypt text files into
.encformat using a password - 🔓 Decrypt
.encfiles with up to 3 password attempts - 📦 Lightweight & easy to use
- 🧠 Great for storing private notes or credentials securely
🚀 Installation
pip install cli-encrypt-txt
🧑💻 Usage
🔐 Encrypt a file
cli-encrypt-txt encrypt test.txt
- You'll be prompted to enter a password.
- Output:
test.txt.enc
🔓 Decrypt a file
cli-encrypt-txt decrypt test.txt.enc
- Enter the same password to decrypt.
- You have 3 attempts to get it right.
- Output:
test.txt
💡 Use Case
Use cli-encrypt-txt as a local password manager or secret storage system. Simply encrypt a .txt file containing your credentials, secrets, or notes, and store the .enc file safely. Only those with the password can decrypt it.
🔧 Example
$ cli-encrypt-txt encrypt secrets.txt
Enter password: ******
Successfully encrypted to: secrets.txt.enc
$ cli-encrypt-txt decrypt secrets.txt.enc
Enter password: ******
Decryption successful! File saved as: secrets.txt
🛠️ Developer Notes
- Requires Python 3.7+
- Designed with simplicity and file-level encryption in mind
- No external dependencies (pure Python, unless otherwise noted)
📝 License
MIT License © 2025 Adityakrishna SreeRamachandrarao
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_encrypt_txt-2.1.0.tar.gz.
File metadata
- Download URL: cli_encrypt_txt-2.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74a0aa5af5fe13ea06596177d2e0468fbb7d0acc230fba5f75ea5557ca88efed
|
|
| MD5 |
10ec539ef4d5f969182f3cea128cf61a
|
|
| BLAKE2b-256 |
063eb41db55d36c9d2782a5a01032a411e32ae4185ab948a8f044a4f24efe75b
|
File details
Details for the file cli_encrypt_txt-2.1.0-py3-none-any.whl.
File metadata
- Download URL: cli_encrypt_txt-2.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f722a27f5ee05ee812a3f78ac4ef0c811f66b6d9edfda7f0204b40ffc0334da2
|
|
| MD5 |
c587edcae32fdb59a17c1ebbe542923d
|
|
| BLAKE2b-256 |
6038d19c1a06133936d4c47d9dd454eb42f8826f289ddccff95d00fff89bc564
|