Python Now Has a Post-Quantum Encryption Library

This is good:

Post-quantum cryptography is now one pip-install away for the entire Python ecosystem. With funding from the Sovereign Tech Agency, we implemented support for ML-KEM, the NIST-standard key-establishment primitive, and ML-DSA, the NIST-standard digital-signature primitive, in pyca/cryptography.

Remember, the reason to do this now is because there’s no emergency. And because you will make your systems crypto agile, which is always a good idea.

Posted on August 10, 2026 at 7:02 AM3 Comments

Comments

Q August 10, 2026 7:50 AM

Symmetric algorithms, like AES, are not affected by quantum algorithms (except for Grover’s algorithm, but it is too slow to be useful).

Post-quantum is for asymmetric algorithms, like RSA, and are affect by quantum algorithms. This is what post-quantum is needed for.

yet another bruce August 10, 2026 9:02 AM

I had thought that another reason we are doing this now is to discourage Harvest Now, Decrypt Later (HNDL) attacks.

Between HNDL and AI data centers it is getting difficult to find an HDD at a reasonable price.

Leave a comment

Blog moderation policy

Login

Allowed HTML <a href="URL"> • <em> <cite> <i> • <strong> <b> • <sub> <sup> • <ul> <ol> <li> • <blockquote> <pre> Markdown Extra syntax via https://michelf.ca/projects/php-markdown/extra/

Sidebar photo of Bruce Schneier by Joe MacInnis.