A simple and secure Python module for hashing and encrypting data and files.
Project description
🔐 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.
Project details
Release history Release notifications | RSS feed
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 crypto_functions-2.0.0.tar.gz.
File metadata
- Download URL: crypto_functions-2.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14ee82f000e911027024107d1d1dce1f9355f72e955938e6d7a44a53313f7daa
|
|
| MD5 |
98c872a82fe4e0007f773cbda843ff87
|
|
| BLAKE2b-256 |
19f7b95344ee320c0ed56acce653e3c1605958233c5855f2a6bb36a9499d43f6
|
File details
Details for the file crypto_functions-2.0.0-py3-none-any.whl.
File metadata
- Download URL: crypto_functions-2.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83b220304dbf819040e8a939df6144ebf54c97a0bef7e6e0af2083506c43fb18
|
|
| MD5 |
9e6ea9c91cde2f65b2db0b4af0b0457c
|
|
| BLAKE2b-256 |
2a47bb083eaf7b6c69aa44af75358d9d4924d569280c0064ccf47c9d64d07435
|