Post-quantum cryptographic suite with PFS, encryption, signatures, and hashing
Project description
NEXUS-Crypt
Post-Quantum Cryptographic Suite with Perfect Forward Secrecy
NEXUS-Crypt is a unified cryptographic library combining:
- NEXUS-Cipher: Custom lattice based symmetric encryption
- ML-KEM (Kyber): Key encapsulation for Perfect Forward Secrecy
- ML-DSA (Dilithium): Post-quantum digital signatures
- SHA-256: Cryptographic hashing
Features
Post-quantum secure (resistant to quantum computer attacks)
Perfect Forward Secrecy (PFS) via ML-KEM
Authenticated encryption with ML-DSA signatures
Constant time operations (side-channel resistant)
Easy to use API
Installation
pip install nexus-crypt
Quick Start
from nexus import NEXUS
nexus = NEXUS(key_size=256)
kem_pk, kem_sk = nexus.generate_kem_keypair()
sign_pk, sign_sk = nexus.generate_signing_keypair()
ciphertext, shared_secret = nexus.establish_session(kem_pk)
message = b"Secret data"
package = nexus.encrypt_and_sign(message, sign_sk)
plaintext = nexus.verify_and_decrypt(package, sign_pk)
Security Properties
- Quantum Resistance: Based on lattice problems (LWE, NTRU)
- Key Sizes: 256, 384, or 512 bits
- Block Size: 512 bits (64 bytes)
- Rounds: 20-24 depending on key size
Use Cases
- Automotive CAN bus encryption
- OTA firmware updates
- V2X communication
- IoT device security
- Secure messaging
License
MIT License
Author
Harshith Madhavaram MS Cybersecurity '2027 Northeastern University, Boston
---
## `.gitignore`**
pycache/ *.py[cod] *$py.class *.so .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg .pytest_cache/ .coverage htmlcov/ .env venv/ ENV/
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 nexus_crypt-1.0.1.tar.gz.
File metadata
- Download URL: nexus_crypt-1.0.1.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af84e1c14933b355b107badc94847f594c6f3ce0e5f9c1fe140c32f3befa20cb
|
|
| MD5 |
28a12335ccc05d96abe3fc7bdd06d13e
|
|
| BLAKE2b-256 |
50640fa7d4c7f77d31bdf350583b964f4495a92adaa8c75f2a58ebb82472b92a
|
File details
Details for the file nexus_crypt-1.0.1-py3-none-any.whl.
File metadata
- Download URL: nexus_crypt-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bf0b5c10cf04fb730eac03c1f407c85d9577ba5abc70d98dcb238553824bfc9
|
|
| MD5 |
cdde5a92c2b3972ba22b02b7224b4211
|
|
| BLAKE2b-256 |
e8167d4a9691aff87f63eea5b7810a91ae386e2bd29231b71998d0a212d546e7
|