🔐 Crypto Tools — Secure Hashing & Encryption for Python
A lightweight, beginner-friendly yet secure cryptography toolkit for Python. It supports password hashing, data hashing, and AES-GCM-based file encryption & decryption — all using modern, industry-standard cryptographic practices.
🚀 Features
✅ Password Hashing — Uses Argon2 (the most secure modern algorithm)
✅ Data Hashing — Fast and deterministic SHA-256 hashing
✅ File Encryption — AES-GCM authenticated encryption (confidentiality + integrity = security Pro Max)
✅ File Decryption — Securely decrypts files encrypted with the same password
✅ Key Derivation — PBKDF2-HMAC-SHA256 with 500,000 iterations
✅ Simple API — Four clean, easy-to-use functions
📦 Installation
1. Clone the repo:
git clone https://github.com/Anish-Sethi-12122/Crypto-Tools
cd Crypto-Tools
2. Install dependencies:
pip install -r requirements.txt
Or even better !!
Download it directly as a module and use it in your python projects.
pip install crypto-functions argon2-cffi cryptography
📁 File Structure
Crypto-Tools/
├── LICENSE
├── README.md
├── crypto_functions.py
├── requirements.txt
└── example.py
Caution- Always store your encryption passwords safely — losing them makes decryption impossible.
Security Pro Max:
AES-GCM for authenticated encryption
PBKDF2-HMAC-SHA256 with 500,000 iterations for key derivation
Argon2 for password hashing
🧪 Example Files
An example script is provided to demonstrate how to use each function.
🧑💻 Author
Anish Sethi
B.Tech CSE Student
💼 LinkedIn
⭐ Don’t forget to star the repo if you like it!
🪪 License
This project is licensed under the MIT License — feel free to use, modify, and share.
Metadata
Release files for crypto-functions 2.0.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 |
|---|---|---|---|---|
| crypto_functions-2.0.0.tar.gz | 3.9 kB | Without provenance | Details for crypto_functions-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crypto_functions-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for crypto_functions-2.0.0-py3-none-any.whl |
Total release size: 8.3 kB
Release files / crypto_functions-2.0.0.tar.gz
| Download URL | crypto_functions-2.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14ee82f000e911027024107d1d1dce1f9355f72e955938e6d7a44a53313f7daa
|
|
BLAKE2b-256 checksum How to use checksums |
19f7b95344ee320c0ed56acce653e3c1605958233c5855f2a6bb36a9499d43f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / crypto_functions-2.0.0-py3-none-any.whl
| Download URL | crypto_functions-2.0.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83b220304dbf819040e8a939df6144ebf54c97a0bef7e6e0af2083506c43fb18
|
|
BLAKE2b-256 checksum How to use checksums |
2a47bb083eaf7b6c69aa44af75358d9d4924d569280c0064ccf47c9d64d07435
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for crypto-functions 2.0.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.