Skip to main content

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


Download files

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

Source Distribution

nexus_crypt-1.0.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

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

nexus_crypt-1.0.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexus_crypt-1.0.0.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

Hashes for nexus_crypt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c7e70b02802a4bc4c810c4da4214eb27c2f5392876e81ab87ee90c31d9958bd4
MD5 0300fb1c9f8dc13268ab021df5bcedd5
BLAKE2b-256 02a0e2caf311e2a56ff58f6788f385cd79862707ffaf125247b531eaf4ed1da4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nexus_crypt-1.0.0-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

Hashes for nexus_crypt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8802ba50d123ead3a6bc56579117d64961d506be18c2a8755f864eed1beb58a
MD5 f34700df90af652427ce2dedd6ee8790
BLAKE2b-256 f7a1db1f90e4d19e73ce0539c9661afe10428f2fc0b027101a67c599389c654b

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