A cryptographic library integrating Diffie-Hellman, Kyber, NTRU, ECDH and RSA for secure communication.
Project description
Shadow Crypt
Shadow Crypt is a Rust-based cryptographic library built with PyO3 and maturin. It provides Python bindings for a suite of cryptographic protocols including:
- Kyber (Post-Quantum Cryptography using Kyber512)
- NTRU (Lattice-based cryptography with parameters equivalent to NTRU-HPS-2048)
- ECDH (Elliptic Curve Diffie–Hellman using X25519)
- Diffie–Hellman (DH) (Classical DH using a 2048-bit safe prime)
- RSA (2048-bit RSA for encryption/decryption)
The library is designed to offer comparable security levels (~128-bit security) across different protocols, making it ideal for benchmarking encryption/decryption times and analyzing bandwidth usage.
Features
- Multi-Protocol Support: Compare and benchmark classical and post-quantum cryptographic protocols in a unified framework.
- Python Integration: Use the library seamlessly in Python projects (e.g., Flask servers) through PyO3.
- High Performance: Leverage Rust’s performance and safety for cryptographic operations.
- Extensibility: Easily add new cryptographic primitives or adjust parameters for detailed performance analysis.
Installation
Prerequisites
- Rust (with Cargo)
- Python 3.7+
import shadow_crypt
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 shadowCrypt-0.1.2.tar.gz.
File metadata
- Download URL: shadowCrypt-0.1.2.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af5e1915e805c1a5edb7ffff94b8fffd5104842f0d70713b96cab3767d5ff22c
|
|
| MD5 |
f092a1d930d7d8ca4257dea9987efb68
|
|
| BLAKE2b-256 |
b98a2e1382ded0cca289a87aed2b54513ff513d8dbab298b3d3c2252f439ff5c
|
File details
Details for the file shadowCrypt-0.1.2-cp313-none-win_amd64.whl.
File metadata
- Download URL: shadowCrypt-0.1.2-cp313-none-win_amd64.whl
- Upload date:
- Size: 403.7 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb2d161d560edaa0fb946199290d57286aa9cc1f501887af6bf72f018caafe21
|
|
| MD5 |
763ab865d9e1cb911822ac7ad32458f0
|
|
| BLAKE2b-256 |
923fee8a32bb7b5af6eeee618149dec4ac74a9448f3112bf2ed0906c0e84d553
|