Skip to content

Support for PQC algorithms: ML-KEM, ML-DSA and SLH-DSA ? #367

Open

Description

@seriousme

A few days ago NIST standardized 3 PQC, algorithms:
NIST 203: ML-KEM (Module-Lattice-Based Key-Encapsulation Mechanism Standard, based on: Crystals Kyber)
NIST 204: ML-DSA (Module-Lattice-Based Digital Signature Standard, based on: Crystals Dilithium)
NIST 205: SLH-DSA (Stateless Hash-Based Digital Signature Standard, based on: SPHINCS+)

For the announcement see:
https://cloudsecurityalliance.org/blog/2024/08/15/nist-fips-203-204-and-205-finalized-an-important-step-towards-a-quantum-safe-future

It would be nice if these were added to webcrypto as well.

Various implementations (commercial and opensource) already exist as the candidate algorithms have been field tested for quite some time.
E.g.

Chromium already supports Kyber for TLS key exchange since August 2023: https://www.thesslstore.com/blog/google-chrome-adds-support-for-a-hybrid-post-quantum-cryptographic-algorithm/

Kind regards,
Hans

Activity

  1. Neustradamus commented on Aug 21, 2024

    @Neustradamus

    @seriousme: Thanks!

  2. seriousme commented on Aug 22, 2024

    @seriousme
    Author

    FYI: the IETF LAMPS and COSE workgroups are busy standardizing these as well

    I found the following IETF drafts which might help in achieving uniformity in naming and parameters.

    Algorithm identifiers:

    ML-DSA for JOSE and COSE
    https://datatracker.ietf.org/doc/draft-ietf-cose-dilithium/

    Cryptographic Message Syntax

    Kind regards,
    Hans

  3. paulmillr commented on Dec 18, 2024

    @paulmillr

    This would probably land in webcrypto in 5 years.

    Meanwhile you can use https://github.com/paulmillr/noble-post-quantum.

  4. panva commented on Mar 28, 2025

    @panva
    Member

    I believe @twiss plans to push https://github.com/twiss/webcrypto-modern-algos/ to WICG soon-ish?

  5. Frosne commented on Apr 30, 2025

    @Frosne
    Member

    This would probably land in webcrypto in 5 years.

    Meanwhile you can use https://github.com/paulmillr/noble-post-quantum.

    I heard that people are looking forward to having PQ in WebCrypto, so no, I don't think that it's gonna be in 5 years :)

  6. paulmillr commented on Apr 30, 2025

    @paulmillr

    @Frosne start the timer. 1/2 year already passed. 3 years is min range imo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions