Skip to content
Projets

À propos

The fastest pure TypeScript post-quantum cryptography implementations (ML-KEM, ML-DSA, SLH-DSA and HQC)

Sécurité et confidentialité

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

webpqc logo

webpqc

Browser CI Node.js CI Deno CI Cloudflare Workers CI bun CI LLRT CI
Post-Quantum Cryptography implementations written in TypeScript for various JavaScript runtimes.

This repository is a monorepo that has the following packages:

package registry description
@webpqc/mlkem npm JSR An ML-KEM (NIST FIPS 203) implementation. Published as @webpqc/mlkem on JSR, and as @webpqc/mlkem, mlkem and crystals-kyber-js on npm.
@webpqc/mldsa npm JSR An ML-DSA (NIST FIPS 204) implementation. Published as @webpqc/mldsa on JSR and npm. At an early stage: the API may change.
@webpqc/hqc npm JSR An HQC (HQC specifications v5.1) implementation. Published as @webpqc/hqc on JSR and npm. At an early stage: the API may change.
@webpqc/slhdsa npm JSR An SLH-DSA (NIST FIPS 205) implementation. Published as @webpqc/slhdsa on JSR and npm. At an early stage: the API may change.

See the README of each package for installation and usage.

Design Direction

The algorithms are implemented in TypeScript. This project uses the native implementations defined by Modern Algorithms in the Web Cryptography API when available, and falls back to the TypeScript ones otherwise. This is done for ML-KEM (@webpqc/mlkem), ML-DSA (@webpqc/mldsa) and SLH-DSA (@webpqc/slhdsa) so far, and is planned for the other algorithms.

The status page shows which runtimes have the native implementations, probed by calling them, and what this project does on each of them.

Contributing

We welcome all kind of contributions, filing issues, suggesting new features or sending PRs.

Explorer des projets similaires

Chargement…