🔐 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 | |
|---|---|---|---|
| crypto_functions-2.0.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crypto_functions-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|