Skip to main content

Quantum-safe key generation SDK using Prime Harmonic Modulation

Project description

🔐 QbitShield SDK

Quantum-Safe Key Infrastructure Powered by Prime Harmonic Modulation

QbitShield is a deterministic entropy SDK that generates quantum-safe encryption keys using our patented Prime Harmonic Modulation (PHM) and Prime-Based Quantum Key Distribution (PB-QKD). Designed for developers building post-quantum resilient systems.


📦 Installation

PyPI (coming soon)

pip install qbitshield

GitHub (latest version)

pip install git+https://github.com/qbitshield/qbitshield-sdk.git

🚀 Quick Start

from qbitshield import QbitShieldClient

client = QbitShieldClient(api_key="your_api_key_here")
result = client.generate_key()

print("Key:", result['key'])
print("Bits:", result['bits'])
print("QASM:", result['qasm'])

🧪 Features

  • 🧠 Deterministic entropy using prime harmonics
  • 🔐 SHA-256 compatible secure key output
  • 🧬 QASM stream support for quantum simulation
  • ☁️ API-ready and developer-friendly
  • ⚡ Modular and lightweight

📁 File Structure

qbitshield-sdk/
├── qbitshield/           # SDK logic
│   ├── __init__.py
│   └── client.py
├── tests/                # Unit tests
│   └── test_client.py
├── examples/             # Jupyter notebooks
│   └── demo_notebook.ipynb
├── setup.py              # Package config
├── pyproject.toml        # Modern build config
├── README.md             # This file

🧪 Testing

pytest tests/

📘 Notebook Demo

Explore the examples/demo_notebook.ipynb for a step-by-step walkthrough using the SDK.


🌐 API Endpoint

All requests are routed through:

https://theqbitshield-api-258062438248.us-central1.run.app/qkd/generate

You must include your API key in the headers:

headers = {
  "Authorization": "Bearer YOUR_API_KEY"
}

🧠 About QbitShield

QbitShield is building the future of post-quantum encryption by introducing deterministic entropy generation through Prime Harmonic Modulation. We eliminate reliance on vulnerable randomness, enabling truly secure key infrastructures for finance, Web3, and defense.

“Random is broken. Deterministic is the future.”


📄 License

MIT License — use, fork, and build freely.

📄 License & IP Notice

This SDK is released under the MIT License, allowing free use, modification, and distribution of the code.

However, QbitShield’s core technologies — including Prime Harmonic Modulation (PHM) and Prime-Based Quantum Key Distribution (PB-QKD) — are patent-pending under U.S. and WIPO filings. Commercial use of QbitShield’s deterministic entropy framework beyond this SDK requires a licensing agreement.

By using this SDK, you agree not to reverse engineer, extract, or commercialize the protected cryptographic methods outside the scope of its intended use.

For licensing inquiries, contact:
📧 will@qbitshield.com

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

qbitshield-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

qbitshield-0.1.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qbitshield-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for qbitshield-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e7fbad29a69a053e5da73c676f64e708a944bed39871cd2bcfd322765ef229c7
MD5 317d5bbcf1bafd64b21e998be9dd9543
BLAKE2b-256 eb7f7b71951aca1907a94ecc618aa83ce62daaa0eb12a797c164e71595a976b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qbitshield-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for qbitshield-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 50f561478eecb0c5e7e89b4d39e1207c3413cde2c1c51ae7fae9ad98440ec2b9
MD5 cabb96a9448107b3e33b7b8e4ef424b7
BLAKE2b-256 78ac2a917e223b16859199f26b337f35d0c61a9c58873391efbe04eda2aa52c0

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