Skip to main content

crypto-pq

Post-quantum cryptography with one contract across languages, by Crypterial Labs.

The Python binding is in development. This release ships the shared contract constants (error codes, ML-KEM sizes) so that code depending on them can be written and tested today. The reference implementation is the Rust crate crypto-pq, which passes the NIST ACVP vectors for FIPS 203.

from crypto_pq import ML_KEM, ERROR_CODES, CONTRACT_VERSION

ML_KEM["ml_kem_768"].encapsulation_key_len  # 1184

Roadmap

The binding wraps the Rust core through PyO3 and ships as one wheel with no Python dependencies. Same path and same behaviour in every language: crypto_pq.kem.ml_kem_768, then sig, sig_stateful, aead, hash, xof, mac, kdf. Only algorithms with a final NIST standard and official test vectors.

License

Apache-2.0 OR MIT.

Metadata

Release files for crypto-pq 0.0.1

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

Source distribution (sdist)

Source distribution for crypto-pq 0.0.1
File Size Uploaded
crypto_pq-0.0.1.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crypto-pq 0.0.1
File Interpreter ABI Platform
crypto_pq-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / crypto_pq-0.0.1.tar.gz

Download URL crypto_pq-0.0.1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
aceee1ac197aa7355513c6e8524b43d8d21b5aba33c7fa16507ba0cd526290df
BLAKE2b-256 checksum
How to use checksums
61eb163cc8022fa9fb531f2be31ca76142cacb086ad8fa739793b7c44e7ae367
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.

Transparency log

Release files / crypto_pq-0.0.1-py3-none-any.whl

Download URL crypto_pq-0.0.1-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6cb3b5dcdbfd6ee3bc49996ce2f295ba7ffdc53f49156215e4415161b5f1cce
BLAKE2b-256 checksum
How to use checksums
1afb3e63d2dd6d590612a8b276daf65ba33c7de3a268c7ba76c38d1729f3f791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.2

2 release files

This release

0.0.1 This release

2 release 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