#primitive #quantum-resistant #standardized #key #algorithm #encapsulation

pqcrypto-std

Standardized quantum-resistant cryptographic primitives

5 unstable releases

0.3.1 Nov 18, 2024
0.3.0 Nov 18, 2024
0.2.0 Nov 5, 2024
0.1.1 Oct 21, 2024
0.1.0 Oct 16, 2024

#789 in Cryptography

Download history 298/week @ 2024-10-16 37/week @ 2024-10-23 69/week @ 2024-10-30 62/week @ 2024-11-06 252/week @ 2024-11-13 81/week @ 2024-11-20 16/week @ 2024-11-27 124/week @ 2024-12-04 72/week @ 2024-12-11 24/week @ 2024-12-18 21/week @ 2024-12-25 21/week @ 2025-01-01 17/week @ 2025-01-08

60 downloads per month

MIT/Apache

2MB
3K SLoC

Description

Standardized quantum-resistant cryptographic primitives.

Algorithms

ML-KEM (Kyber)

Implementation of FIPS 203.

Only supports Kyber768.

Status

  • Key generation
  • Key encoding/decoding
  • Compression
  • Encaps/Decaps
  • Multiple parameter sets

ML-DSA (Dilithium)

Implementation of FIPS 204.


lib.rs:

This library implements standardized quantum-resistand cryptographic algorithms.

Currently supports ML-DSA for signatures and ML-KEM key encapsulation.

Dependencies