Skip to main content

iden-q-post-quantum (Python) — generated by iqcgen 1.0.2

Do not edit these sources. They are compiled from the IdenQ Crypto IR in specs/ and regenerated with iqcgen generate. Cross-language byte parity is the property this package exists to guarantee; hand edits silently break it.

Requires: CPython 3.10-3.13 from source; the published wheel is bytecode, so one wheel per minor version.

pip install ./dist/python

Passphrase-rooted hybrid post-quantum secret encryption (cipher_payload v2)

A passphrase is stretched with Argon2id into a master key; an ML-KEM-768 keypair is derived deterministically from that master key (so nothing has to be stored or synced); encapsulating to it yields a post-quantum shared secret which is mixed with a symmetric KEK to wrap a random per-secret data key. An attacker needs the passphrase — breaking ML-KEM alone, or recording traffic today to decrypt after a quantum computer exists, does not help.

from iden_q_post_quantum import (encrypt, decrypt)
  • encrypt(plaintext: string, passphrase: string) — Encrypt a secret under a passphrase.
  • decrypt(payload: struct, passphrase: string) — Decrypt a payload with the passphrase that produced it.

Hybrid X25519 + ML-KEM-768 public-key envelope (login_envelope v1)

Seals a short credential to a recipient's static hybrid public key. Classical and post- quantum defence in depth: an interceptor who strips TLS must break BOTH X25519 and ML- KEM-768 to recover the key-encryption key, and neither alone is enough. The recipient opens it with the matching private keys.

from iden_q_post_quantum import (seal, unseal, derive_recipient_keys)
  • seal(plaintext: bytes, recipient_x_pk: bytes, recipient_mlkem_ek: bytes) — Seal a plaintext to a recipient's static hybrid public key.
  • unseal(envelope: struct, x_sk: bytes, mlkem_dk: bytes) — Open an envelope with the recipient's private keys.
  • derive_recipient_keys(seed: bytes) — Derive a recipient key set deterministically from a 96-byte seed.

Licence

IdenQ Proprietary Licence. See LICENSE — this software is licensed, not sold. Third-party components keep their own terms; see THIRD-PARTY-NOTICES.md.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

iden_q_post_quantum-1.0.2-cp313-none-any.whl (17.3 kB view details)

Uploaded CPython 3.13

iden_q_post_quantum-1.0.2-cp312-none-any.whl (17.3 kB view details)

Uploaded CPython 3.12

iden_q_post_quantum-1.0.2-cp311-none-any.whl (18.3 kB view details)

Uploaded CPython 3.11

File details

Details for the file iden_q_post_quantum-1.0.2-cp313-none-any.whl.

File metadata

File hashes

Hashes for iden_q_post_quantum-1.0.2-cp313-none-any.whl
Algorithm Hash digest
SHA256 e38779c5d5d65855fedbcf08bfca4d9898b5a51560a3e263c79f57846b898748
MD5 4d9ecf406ee828b2a25e4e141c6256b1
BLAKE2b-256 b51e9015626cc07f97587f8227d3d49bfcdd5fe19fa884589dedf514845ce5c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for iden_q_post_quantum-1.0.2-cp313-none-any.whl:

Publisher: release.yml on iden-q/iden-q-post-quantum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file iden_q_post_quantum-1.0.2-cp312-none-any.whl.

File metadata

File hashes

Hashes for iden_q_post_quantum-1.0.2-cp312-none-any.whl
Algorithm Hash digest
SHA256 5254ece4c3521ecfbaadecc5ea7f912f0a2b594f679b8c3fa86f2dd1d829900b
MD5 83dd3f63b6dd138406705c7f9d9ee21b
BLAKE2b-256 4eb64abc50cc103821a48aa91783faf6aa15e41518a1107edf3e8da2b05bdccf

See more details on using hashes here.

Provenance

The following attestation bundles were made for iden_q_post_quantum-1.0.2-cp312-none-any.whl:

Publisher: release.yml on iden-q/iden-q-post-quantum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file iden_q_post_quantum-1.0.2-cp311-none-any.whl.

File metadata

File hashes

Hashes for iden_q_post_quantum-1.0.2-cp311-none-any.whl
Algorithm Hash digest
SHA256 64642c5f169c6eca6d6014029ec3c4494e53c3504e5ee3478c8e392ba91bbca0
MD5 c28f4d8b8885c3c66e51526a0a425305
BLAKE2b-256 310048c9fd1172c7aee4887cc0071295fa39fcb666d78cc4be904c371b8f659c

See more details on using hashes here.

Provenance

The following attestation bundles were made for iden_q_post_quantum-1.0.2-cp311-none-any.whl:

Publisher: release.yml on iden-q/iden-q-post-quantum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.2.0

3 files

1.1.0

3 files

1.0.3

3 files

This release

1.0.2 This release

3 files

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