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.0.tar.gz (4.1 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.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qbitshield-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 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.0.tar.gz
Algorithm Hash digest
SHA256 e0f27f2a5d9edfe03706dde6c33acdeb4d8f4dcbfbb57e24cdf1432ce4564090
MD5 54090b2a0918bd8d7a7a9e62a7d8c641
BLAKE2b-256 82616b9ff70677524ae697a21bf0d693b52e41247b92d9796cccfe58ba9c3e6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qbitshield-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd71be01c89286226f7b3c75e605713d61da4e972957241953f5124ffc6b2f03
MD5 12a38ea7e1e6c0279b19d10c764aadd1
BLAKE2b-256 5a90684447d6dfb10523e80f3b94cc735ec633d18d2bed842adb1226ae4f5d73

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