https://github.com/quantumwizard888/cryptography_tools
Minimalistic API tools (based on FastAPI) for hash generation and cryptography
https://github.com/quantumwizard888/cryptography_tools
api api-rest async asynchronous beginner beginner-friendly cryptography cyber-security cybersecurity fastapi hash python python-3 python3 rest-api security security-tools web webapp
Last synced: 16 days ago
JSON representation
Minimalistic API tools (based on FastAPI) for hash generation and cryptography
- Host: GitHub
- URL: https://github.com/quantumwizard888/cryptography_tools
- Owner: QuantumWizard888
- Created: 2025-08-08T20:34:56.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T22:43:18.000Z (10 months ago)
- Last Synced: 2025-08-09T00:20:54.898Z (10 months ago)
- Topics: api, api-rest, async, asynchronous, beginner, beginner-friendly, cryptography, cyber-security, cybersecurity, fastapi, hash, python, python-3, python3, rest-api, security, security-tools, web, webapp
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRYPTOGRAPHY TOOLS đ
## Minimalistic API tools (based on FastAPI) for hash generation and cryptography
CRYPTOGRAPHY TOOLS is an API-based minimalistic asynchronous (yeah) web application written in Python (FastAPI) for hash generation and other cryptogrphic needs.
Featues:
* **Hash generation**: SHA-256, SHA-512, Argon2
* **base64 encoding/decoding**
* **Random string generation**
It uses:
* **Framework**: FastAPI
* **Data validation**: pydantic
* **Cryptography**: base64, hashlib, secrets, argon2-cffi
* **ASGI HTTP Server**: Uvicorn
* **Tests**: pytest-asyncio, httpx
### đĻ Installation
1. Consider you already unpacked the app archive file. First you have to create virtual environment and activate it:
```
cd cryptography_tools
python3 -m venv .venv
. .venv/bin/activate
```
âšī¸ **NOTE**: If you want to make some changes to CRYPTOGRAPHY TOOLS - make it while virtual environment is activated. Don't forget to exit virtual environment after you finish your work:
```
deactivate
```
2. Install all required modules using:
```
pip install -r requirements
```
3. Run the application with this command:
```
python3 main.py
```
â ī¸ **WARNING!**: Do not use this command for production environment! Escpecially the with ```reload = True``` option. In addition: most likely you have to adjust the way you run the application to your needs.
### đ How to?
After running the application you can access the documentation using this web address:
```
http://127.0.0.1:8000/docs
```
### âī¸ Tests
To run tests simply execute this command while in the root diectory of the project:
```
python3 -B -m pytest -v tests/test_crypto_tools_core.py
```