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.2.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.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqrypt_cyber_sdk-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 528b52fa88e966251efaad02c5bebbda9ca2cb965f9d76c1865aa835215a70d3
MD5 ec0c690b4a4f76d215f41c62b846b4cf
BLAKE2b-256 99faa5219615cf7e8c44afcb8e06d8582ecce51529471c57f448dd6a96ed77ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqrypt_cyber_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 654a1532a7f386e89084a9fa924b08aecb5fdf78cf0e174431893c79c27f6c42
MD5 8e633646feed93783dcaf8e0089a9a77
BLAKE2b-256 41dd94f3ad236ac0341f476ce42b6f7c13d7a3590a38d373330408afee964a2f

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