Skip to main content

Post-Quantum Cybersecurity SDK

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.1.tar.gz (4.4 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.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqrypt_cyber_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 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.1.tar.gz
Algorithm Hash digest
SHA256 651383e52805604a9e242e839263b0ed26f259da4f1b954c654c3d6c72521c3e
MD5 e472d7fd3903e32b6c47e42e1af55488
BLAKE2b-256 a7f16095d9c01b757f4ed72fb0eb3afe7d29c17638882d57096ffda5f081f70d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqrypt_cyber_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e64fddd18a264e1fc0369d79eddfeeb9781ca180f1c6f7e13279067538568758
MD5 b541f2ded279b52ddcf9dcaa6dd5a05d
BLAKE2b-256 430c833c3cf067f251778c0da6eb6ade23b58f9057f1f81af33f9effa35ff09d

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