Skip to content
项目

关于

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

安全与隐私

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…