Skip to main content

Enterprise Hybrid Post-Quantum Cryptography SDK wrapping NIST FIPS-203 (ML-KEM)

Project description

SQrypt Post-Quantum Cybersecurity SDK 🛡️

SQrypt is an enterprise-grade developer kit designed to secure high-stakes data ingestion layers against future quantum threats. It provides an optimized, drop-in abstraction layer wrapping NIST FIPS-203 (ML-KEM) lattice cryptography.

Key Features

  • One-Line Implementation: Secure runtime data routing via native Python decorators.
  • Hybrid Defense Architecture: Merges classical AES-256-GCM symmetric block ciphers with post-quantum asymmetric encapsulation.
  • Zero-Knowledge Target Mutation: Secure specific nested keys within complex JSON payloads without exposing metadata.

Installation

pip install sqrypt-cyber-sdk

Quick Start Guide

  • Initialize the Secure Client: Connect the SDK to your isolated enterprise infrastructure instance by instantiating the client engine with your secret keys:
from sqrypt import SQryptClient

client = SQryptClient(
    server_url="[http://127.0.0.1:8500](http://127.0.0.1:8500)", 
    api_key="YOUR_ENTERPRISE_API_KEY"
)
  • Runtime Interception (Pattern A): Protect live string streams dynamically at the functional boundary using the automatic encryption decorator:
@client.auto_encrypt()
def process_runtime_transaction(user_id: str, card_data: str) -> str:
    # Data is automatically encapsulated before network dispatch
    return f"USER:{user_id}|RAW_CARD:{card_data}"

# Executes lattice-based key encapsulation
protected_payload = process_runtime_transaction("usr_998", "4111-2222-3333-4444")

# Reclaim the plaintext string through zero-knowledge decapsulation
recovered_string = client.decrypt(protected_payload)
  • Granular Field Masking (Pattern B): To protect structural records or transactional documents before database insertion, mask target keys selectively:
database_document = {
    "account_id": "acc_001",
    "status": "active",
    "tax_id": "999-12-3456",
    "secret_token": "token_xyz123"
}

# Mutates specified targets into quantum-secure ciphertext bundles
masked_document = client.protect_dict(
    data=database_document, 
    sensitive_keys=["tax_id", "secret_token"]
)

SECURITY SPECIFICATIONS

SQrypt's design parameters conform strictly to the modern cryptographic primitives evaluated by the National Institute of Standards and Technology (NIST):

Layer / Algorithm / Standard Target Bit Security Notes / Details
Asymmetric Key Encapsulation ML-KEM-768 (FIPS 203) 192-bit (Quantum-Secure)
Symmetric Bulk Encryption AES-256-GCM 256-bit (Classical/Quantum-Safe)
Key Derivation Function HKDF-SHA256 High-Entropy Expansion

License

This SDK is distributed under the terms of the MIT License.

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

sqrypt_cyber_sdk-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

sqrypt_cyber_sdk-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file sqrypt_cyber_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: sqrypt_cyber_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for sqrypt_cyber_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a2d8324975017fab56c79705e3bcce94be3124a3848f5a71c5c5c74bdda48280
MD5 bf4a8a1b9c952f877e66fae116451442
BLAKE2b-256 0549b3968d6b863d3cd49ba0697f41096ffa6bdc7bd633ffede840eff3fc319a

See more details on using hashes here.

File details

Details for the file sqrypt_cyber_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sqrypt_cyber_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e56c532e4c58483c095a15497b179f4f5fd136570f28c723813f455e206967e3
MD5 183489f7a2d4d7019c4f55c97ae61dba
BLAKE2b-256 8934942342b429ebf8e50cccb9f540fe4fdfd1632a9e93124be9229631f608ba

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