ash-encrypt
Encrypt and decrypt files and directories with AES-256-GCM.
Features
- AES-256-GCM encryption — authenticated encryption with strong confidentiality and integrity guarantees
- File and directory support — encrypt individual files or entire directories
- Simple CLI — intuitive command-line interface with encrypt/decrypt modes
- Progress bars — visual feedback for large file operations via tqdm
- Streaming encryption — handles large files without loading them entirely into memory
- Cross-platform — works on Linux, macOS, and Windows
Installation
pip install ash-encrypt
Quick Start
Encrypt a file
ash-encrypt e -p <password> -f <file>
This produces a .ash encrypted file. For example:
ash-encrypt e -p mysecretpass -f document.pdf
# Output: document.ash
Decrypt a file
ash-encrypt d -p <password> -f <file.ash>
ash-encrypt d -p mysecretpass -f document.ash
# Output: document.pdf
CLI Flags
| Flag | Description |
|---|---|
e |
Encryption mode |
d |
Decryption mode |
-p |
Password |
-f |
File or directory path |
Supported Platforms
- Linux
- macOS
- Windows
Requirements
- Python 3.8+
- pycryptodome >= 3.15
- tqdm >= 4.60
Development
Clone the repository and install with dev dependencies:
git clone https://github.com/shimafallah/ash_encryptor.git
cd ash_encryptor
pip install -e ".[dev]"
License
Links
Metadata
Release files for ash-encrypt 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ash_encrypt-0.3.0.tar.gz | 9.8 kB | Without provenance | Details for ash_encrypt-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ash_encrypt-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for ash_encrypt-0.3.0-py3-none-any.whl |
Total release size: 22.4 kB
Release files / ash_encrypt-0.3.0.tar.gz
| Download URL | ash_encrypt-0.3.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64d28345cf7d74766b0af03ea857469c4b47f9d6611c182c7909e65323abd2ef
|
|
BLAKE2b-256 checksum How to use checksums |
f700f31be923c73677b17ce808b5a84e0285fc4b7eef230c8e68d63bdcb61409
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / ash_encrypt-0.3.0-py3-none-any.whl
| Download URL | ash_encrypt-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e835dfb29d8b5e17ff82201b9fac6b2422c0ec7e83111eb83f0a52e72633ecd
|
|
BLAKE2b-256 checksum How to use checksums |
671ff13d911bed155f651366212eaf16e4da847e4306c259f5216f71a71c93ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for ash-encrypt 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.