Skip to main content

Enceladus QuantumGuard (enceladus-quantumguard)

PyPI Version Python Versions Platform PQC Standard

Enceladus QuantumGuard is a high-performance, drop-in Post-Quantum Cryptography (PQC) shim library designed to protect modern and legacy Python applications against quantum computing threats (Store-Now-Decrypt-Later attacks).

It provides immediate, quantum-resilient encryption by augmenting or emulating standard RSA workflows with NIST FIPS 203 ML-KEM-768 (Kyber) and AES-256-GCM, bundled with optimized native binaries powered by Open Quantum Safe (liboqs).


Key Features

  • NIST FIPS 203 Compliant: Powered by ML-KEM-768 (Kyber768) delivering 192-bit quantum security strength.
  • Dual-Hybrid Mode: Combines classical RSA-3072 (NIST SP 800-131A Rev 2) with post-quantum ML-KEM-768 for defense-in-depth. If either cipher holds, your data remains secure.
  • Payload Encryption: Bulk payload encrypted with AES-256-GCM authenticated encryption and HKDF domain separation (RFC 5869).
  • Zero-Code-Refactor Shims: Drop-in monkey-patching and compatibility layers for:
    • cryptography (cryptography.hazmat.primitives.asymmetric.rsa)
    • rsa (Python-RSA)
    • pycryptodome (Crypto.PublicKey.RSA and Crypto.Cipher.PKCS1_OAEP)
  • Self-Contained Native Binaries: Pre-compiled and bundled liboqs C shared libraries across Linux (manylinux x86_64), macOS (ARM64/x86_64), and Windows (x86_64). No manual C compilation required.

Installation

Install the pre-built wheel directly from PyPI:

pip install enceladus-quantumguard

Supported Python versions: Python 3.10, 3.11, 3.12, 3.13, 3.14 on Linux, macOS, and Windows.


Quickstart

1. Direct High-Level API

QuantumGuard provides simple functions to generate keys and perform hybrid PQC encryption/decryption:

from quantumguard_pqc import (
    generate_pqc_kem_keypair,
    pqc_encrypt_payload,
    pqc_decrypt_payload,
    pack_ciphertext,
    unpack_ciphertext,
)

# 1. Generate keypair (Dual-Hybrid RSA-3072 + ML-KEM-768)
public_key, private_key = generate_pqc_kem_keypair()

# 2. Encrypt plaintext payload
message = b"Confidential financial transaction data"
kem_ct, rsa_ct, nonce, encrypted_payload = pqc_encrypt_payload(message, public_key)

# 3. Pack into transportable wire format
wire_data = pack_ciphertext(kem_ct, rsa_ct, nonce, encrypted_payload)

# 4. Decrypt directly using the private key
decrypted_message = pqc_decrypt_payload(wire_data, private_key)
assert decrypted_message == message
print("Decryption successful:", decrypted_message.decode())

2. Drop-in Shim for cryptography

Replace standard cryptography.hazmat.primitives.asymmetric.rsa calls transparently:

from quantumguard_pqc.cryptography_patch import (
    generate_private_key,
    CryptographyPrivateKey,
    CryptographyPublicKey,
)

# Generate a quantum-resistant keypair matching the cryptography API
private_key = generate_private_key(public_exponent=65537, key_size=2048)
public_key = private_key.public_key()

# Encrypt
plaintext = b"Secure message over insecure channel"
ciphertext = public_key.encrypt(plaintext, padding=None)

# Decrypt
decrypted = private_key.decrypt(ciphertext)
assert decrypted == plaintext

3. Drop-in Shim for rsa

Seamlessly drop into existing Python rsa module workflows:

import quantumguard_pqc.rsa_patch as rsa

# Generate keys using the standard rsa.newkeys API
public_key, private_key = rsa.newkeys(2048)

# Encrypt and Decrypt
ciphertext = rsa.encrypt(b"Hello Post-Quantum World!", public_key)
plaintext = rsa.decrypt(ciphertext, private_key)

assert plaintext == b"Hello Post-Quantum World!"

4. Drop-in Shim for pycryptodome

Replace Crypto.PublicKey.RSA and Crypto.Cipher.PKCS1_OAEP:

from quantumguard_pqc.pycryptodome_patch import RSA, PKCS1_OAEP

# Generate key
key = RSA.generate(2048)
public_key = key.publickey()

# Encrypt with PKCS1_OAEP interface
cipher = PKCS1_OAEP.new(public_key)
ciphertext = cipher.encrypt(b"Encrypted with QuantumGuard")

# Decrypt
decipher = PKCS1_OAEP.new(key)
plaintext = decipher.decrypt(ciphertext)
assert plaintext == b"Encrypted with QuantumGuard"

Cryptographic Architecture

               +-------------------------------------------+
               |            Plaintext Message              |
               +-------------------------------------------+
                                     |
               +---------------------+---------------------+
               |                                           |
               v                                           v
      [ML-KEM-768 Encap]                         [RSA-3072 Encrypt]
               |                                           |
       Shared Secret (PQC)                       Shared Secret (Classical)
               |                                           |
               +---------------------+---------------------+
                                     |
                                     v
                       [HKDF-SHA256 Context Binding]
                                     |
                                     v
                           Derived 256-bit Key
                                     |
                                     v
                          [AES-256-GCM AEAD]
                                     |
                                     v
                     +-------------------------------+
                     | Wire Ciphertext: [HYB Header] |
                     |   + KEM Ciphertext            |
                     |   + RSA Ciphertext            |
                     |   + GCM Nonce                 |
                     |   + AES Tagged Payload        |
                     +-------------------------------+

Security Modes

  • Dual-Hybrid Mode (USE_HYBRID = True, default): Combines NIST FIPS 203 ML-KEM-768 with classical 3072-bit RSA. Both secrets are derived through HKDF (RFC 5869) with application context binding (quantumguard-hybrid-v1).
  • Pure PQC Mode (USE_HYBRID = False): Operates purely on ML-KEM-768 key encapsulation for systems mandating strict elimination of classical primitives.

License

Enceladus QuantumGuard is released under the Apache License 2.0. Bundled liboqs binaries are distributed under the MIT License from the Open Quantum Safe project.

Metadata

Release files for enceladus-quantumguard 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for enceladus-quantumguard 1.1.5
File Actions
enceladus_quantumguard-1.1.5-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for enceladus_quantumguard-1.1.5-cp314-cp314-win_amd64.whl
enceladus_quantumguard-1.1.5-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.26+ x86-64 Details for enceladus_quantumguard-1.1.5-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
enceladus_quantumguard-1.1.5-cp314-cp314-macosx_26_0_universal2.whl CPython 3.14 CPython 3.14 macOS 26.0+ universal2 (ARM64, x86-64) Details for enceladus_quantumguard-1.1.5-cp314-cp314-macosx_26_0_universal2.whl
enceladus_quantumguard-1.1.5-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for enceladus_quantumguard-1.1.5-cp313-cp313-win_amd64.whl
enceladus_quantumguard-1.1.5-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.26+ x86-64 Details for enceladus_quantumguard-1.1.5-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
enceladus_quantumguard-1.1.5-cp313-cp313-macosx_26_0_universal2.whl CPython 3.13 CPython 3.13 macOS 26.0+ universal2 (ARM64, x86-64) Details for enceladus_quantumguard-1.1.5-cp313-cp313-macosx_26_0_universal2.whl
enceladus_quantumguard-1.1.5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for enceladus_quantumguard-1.1.5-cp312-cp312-win_amd64.whl
enceladus_quantumguard-1.1.5-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.26+ x86-64 Details for enceladus_quantumguard-1.1.5-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
enceladus_quantumguard-1.1.5-cp312-cp312-macosx_26_0_universal2.whl CPython 3.12 CPython 3.12 macOS 26.0+ universal2 (ARM64, x86-64) Details for enceladus_quantumguard-1.1.5-cp312-cp312-macosx_26_0_universal2.whl
enceladus_quantumguard-1.1.5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for enceladus_quantumguard-1.1.5-cp311-cp311-win_amd64.whl
enceladus_quantumguard-1.1.5-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.26+ x86-64 Details for enceladus_quantumguard-1.1.5-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
enceladus_quantumguard-1.1.5-cp311-cp311-macosx_26_0_universal2.whl CPython 3.11 CPython 3.11 macOS 26.0+ universal2 (ARM64, x86-64) Details for enceladus_quantumguard-1.1.5-cp311-cp311-macosx_26_0_universal2.whl
enceladus_quantumguard-1.1.5-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for enceladus_quantumguard-1.1.5-cp310-cp310-win_amd64.whl
enceladus_quantumguard-1.1.5-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.26+ x86-64 Details for enceladus_quantumguard-1.1.5-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
enceladus_quantumguard-1.1.5-cp310-cp310-macosx_26_0_universal2.whl CPython 3.10 CPython 3.10 macOS 26.0+ universal2 (ARM64, x86-64) Details for enceladus_quantumguard-1.1.5-cp310-cp310-macosx_26_0_universal2.whl

Total release size: 192.0 MB

Release files / enceladus_quantumguard-1.1.5-cp314-cp314-win_amd64.whl

Download URL enceladus_quantumguard-1.1.5-cp314-cp314-win_amd64.whl
Size 4.8 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
09b1e54eb4bb8d4807025b60873f16f7cfafb9652802572053ec88b559bdbce1
BLAKE2b-256 checksum
How to use checksums
03a98de20aeef057d4084592858c768a8d366d06b06d7e65cd17a7ddcf893afa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl

Download URL enceladus_quantumguard-1.1.5-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 16.5 MB
Tags CPython 3.14 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
834c0630c99cf3eec752ad625f910d9513d40e9d948143aad0cbb1e0281f371b
BLAKE2b-256 checksum
How to use checksums
6e1a3bb8dff288e9b6692ec73042aa7f21a366006778e4724dd5f59eb4fcc6f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp314-cp314-macosx_26_0_universal2.whl

Download URL enceladus_quantumguard-1.1.5-cp314-cp314-macosx_26_0_universal2.whl
Size 17.2 MB
Tags CPython 3.14 macOS 26.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
8c12d9fffd4e63540939762b099d7b75f63b7d5658e6819956101174426484ae
BLAKE2b-256 checksum
How to use checksums
6bd215e4032becc20f1faacfd83c64b813253f698baa3703b03fe7faeb60b457
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp313-cp313-win_amd64.whl

Download URL enceladus_quantumguard-1.1.5-cp313-cp313-win_amd64.whl
Size 4.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
6a898b9c91e5ee32a96075554ec27997557795a548f2c6b768b2105dd0141975
BLAKE2b-256 checksum
How to use checksums
cde8e31c580cef8e965749821915233f0e542b3db70ef07c32c5e5bbbc1e101a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl

Download URL enceladus_quantumguard-1.1.5-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 MB
Tags CPython 3.13 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3f5e1cc88370ee767e93ba87acbe99e9ebfeee4cbb7f9691e8a9a35716b51b1b
BLAKE2b-256 checksum
How to use checksums
ccd91c4bed4e282b5daeec1af26225f065be187777d3afd95c8646a54e330843
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp313-cp313-macosx_26_0_universal2.whl

Download URL enceladus_quantumguard-1.1.5-cp313-cp313-macosx_26_0_universal2.whl
Size 17.2 MB
Tags CPython 3.13 macOS 26.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
5e7c74bf3f5f8bc547468cccca8d422f86b5cec9c9db5a9d197991c65b9014c4
BLAKE2b-256 checksum
How to use checksums
f4f56634937ccd9334c2f082bc539aac9eaae74ff5b173538636474ea93edcd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp312-cp312-win_amd64.whl

Download URL enceladus_quantumguard-1.1.5-cp312-cp312-win_amd64.whl
Size 4.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
3816f1684ed9f58abd226eec1019aa7b33fa42a06e80a698ee54085053183f2a
BLAKE2b-256 checksum
How to use checksums
86e1fd940a43e02e4d4f43198974833e180d3200899482fdc43969f8ad21dc55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl

Download URL enceladus_quantumguard-1.1.5-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 MB
Tags CPython 3.12 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2b7ea4a7ca6eb7a4c6fb60b483344966df6aece38ff7b60db00ed50eea2ad920
BLAKE2b-256 checksum
How to use checksums
81e067b3b13476db4506aedd87470a9d39aba5c2a3ed7da0c21554d1f9111e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp312-cp312-macosx_26_0_universal2.whl

Download URL enceladus_quantumguard-1.1.5-cp312-cp312-macosx_26_0_universal2.whl
Size 17.2 MB
Tags CPython 3.12 macOS 26.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9c790fbc4bded1478a4cf153c3bf95d04a52dfdb143f37220d0f7dfd9825f99a
BLAKE2b-256 checksum
How to use checksums
1c133c284c3e9322127f534137c0ebca33f6ddacb811eabe92c11d2e04421b2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp311-cp311-win_amd64.whl

Download URL enceladus_quantumguard-1.1.5-cp311-cp311-win_amd64.whl
Size 4.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
bcfc8fa6dbbc8c3057306598e17e386a69f938f339b859406bee49146a785395
BLAKE2b-256 checksum
How to use checksums
21c19154d23c91759ed720200dd5c1b52ce4a67375b054cb70cd249acd806e74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl

Download URL enceladus_quantumguard-1.1.5-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 16.5 MB
Tags CPython 3.11 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9b89ca7ad18f41577d3778cf69c68dc2cb3ce05fc7e1c708bde9001ca134d0e8
BLAKE2b-256 checksum
How to use checksums
96771ab7c335b5e97b9f989fbf1e575d2ead7c7d48a9b4c717c1e7cc202fa4ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp311-cp311-macosx_26_0_universal2.whl

Download URL enceladus_quantumguard-1.1.5-cp311-cp311-macosx_26_0_universal2.whl
Size 17.2 MB
Tags CPython 3.11 macOS 26.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
a2b0e560392cdbed3b927a0de1caae47134f8d819e3f2f3b7a47f622ae3b1550
BLAKE2b-256 checksum
How to use checksums
d49dd12fe9017164109ea2dc2ce04c98769de1e75758ca5c43758d2ec1add58d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp310-cp310-win_amd64.whl

Download URL enceladus_quantumguard-1.1.5-cp310-cp310-win_amd64.whl
Size 4.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e3221a3fc4b2e366db2f3bc3188fe1a840bc874be74aa54fe8af7eedbea99877
BLAKE2b-256 checksum
How to use checksums
359dedf8c69e0d7934cea91ce20f48bd2cb75e2b0c06809a33d2b49500d9daf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl

Download URL enceladus_quantumguard-1.1.5-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 16.5 MB
Tags CPython 3.10 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3da37d2bd475164d576a66967643e6b6dbb6e64671729f29cd52759a967e8a23
BLAKE2b-256 checksum
How to use checksums
d3adddf097fbfa40e4501f9c1479ab5d4d3b9005f938a2948e0f2c556504865b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / enceladus_quantumguard-1.1.5-cp310-cp310-macosx_26_0_universal2.whl

Download URL enceladus_quantumguard-1.1.5-cp310-cp310-macosx_26_0_universal2.whl
Size 17.2 MB
Tags CPython 3.10 macOS 26.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
b3ff01bbea3a5ff5629c2b628722a1e2b1429f90013d36802a31441a6f2174ce
BLAKE2b-256 checksum
How to use checksums
80ddf85994c80d9cf4a48b6ae69a6119a185450bce844ee85206b3d423b4c070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for enceladus-quantumguard 1.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page