Metadata-Version: 2.4
Name: crypto-functions
Version: 2.0.0
Summary: A simple and secure Python module for hashing and encrypting data and files.
Author-email: Anish Sethi <sethi.dynasty123@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Anish-Sethi-12122/Crypto-Tools
Project-URL: Repository, https://github.com/Anish-Sethi-12122/Crypto-Tools
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: cryptography>=42.0.0
Requires-Dist: argon2-cffi>=23.1.0
Dynamic: license-file

# 🔐 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) <br>
✅ **Data Hashing** — Fast and deterministic SHA-256 hashing <br>
✅ **File Encryption** — AES-GCM authenticated encryption (confidentiality + integrity = security Pro Max) <br>
✅ **File Decryption** — Securely decrypts files encrypted with the same password <br>
✅ **Key Derivation** — PBKDF2-HMAC-SHA256 with 500,000 iterations <br>
✅ **Simple API** — Four clean, easy-to-use functions <br>

---

## 📦 Installation

**1. Clone the repo:** <br>
`git clone https://github.com/Anish-Sethi-12122/Crypto-Tools` <br>
`cd Crypto-Tools`


**2. Install dependencies:** <br>
`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 <br> <br>
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](https://www.linkedin.com/in/anish-sethi-dtu-cse/)  
⭐ 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.
