Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crypto_functions-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crypto_functions-1.0.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file crypto_functions-1.0.0.tar.gz.

File metadata

  • Download URL: crypto_functions-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for crypto_functions-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3fbb9e8a4140c95c35e0d9c9f55dfd426172133c675dcaf9badc3318de36d07b
MD5 ebdc696ecd7a6e0f5888def206f7b649
BLAKE2b-256 e81ebf577fcc0b210a6a58075df837616a7b4c8b06687c9ba9eabd409019751d

See more details on using hashes here.

File details

Details for the file crypto_functions-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for crypto_functions-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a42893535605cabefde204e2dc10760762312942cec19cb94c3b1c0016f1cf0
MD5 8e9a25a37251e8feaf2612996cec110e
BLAKE2b-256 530089543a9eff1da2ae3b6fbd08bacab80afdcc4fbf5e4c6cfee8f89ee70d8f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page