Skip to main content

dpqc

DPQC: Developer's Post-Quantum Cryptography Library

PyPI version GitHub

Install

pip install dpqc

Quick Start

from dpqc import MLKEM512, MLDSA44

# Example: Key Encapsulation (KEM)
kem = MLKEM512()
public_key, secret_key = kem.keypair()
ciphertext, shared_secret_enc = kem.encapsulate(public_key)
shared_secret_dec = kem.decapsulate(ciphertext, secret_key)
assert shared_secret_enc == shared_secret_dec

# Example: Digital Signature
sig = MLDSA44()
public_key, secret_key = sig.keypair()
message = b"Hello PQC!"
signature = sig.sign(message, secret_key)
verified = sig.verify(signature, public_key)
assert verified == message

Features

  • ML-KEM (512/768/1024)
  • ML-DSA (44/65/87)
  • Falcon (512/1024)
  • Cross-platform: Windows, Linux, macOS

Documentation

License

MIT

Metadata

Release files for dpqc 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 dpqc 0.0.1
File Size Uploaded Provenance Actions
dpqc-0.0.1.tar.gz 8.1 kB Without provenance Details for dpqc-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 15.1 kB

Release files / dpqc-0.0.1.tar.gz

Download URL dpqc-0.0.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2305f8effc98a0817be94220d1e6f8435e396d5b0e96dfc8ab9b2ed443315c15
BLAKE2b-256 checksum
How to use checksums
217c94487a956c6469be959a5c0b5ae4855a2ec626950db2e53fdf61ac288092
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

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

Download URL dpqc-0.0.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cc90b6849199ae31389792d17e22e788bad1d992cd082e03888b6f7b1fc0ffb
BLAKE2b-256 checksum
How to use checksums
d414b3dc996d1d64c049b0b15a29ab0593cb4d23a7353da7bc58d02ebd6e5c27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for dpqc 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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