ml-kem
Pure Rust implementation of the Module-Lattice-Based Key-Encapsulation Mechanism Standard (formerly known as Kyber) as described in FIPS 203
0.3.2
5.1M downloads/mo
#4501 most downloaded on crates.io
RustCrypto/KEMs
What this package is like to depend on
Last release 3 months ago
10 May 2026
Release timing varies
gaps range from 1 weeks to 9 months
Nearly every release is documented
notes for 7 of 7 stable releases
3 versions withdrawn
withdrawn after publishing
3 years old
22 releases · first in 2023
15 releases in the last 12 months
see the full history below
Release timeline
22 releases · Aug 2023 to May 2026Releases
latest 22-
0.3.210 May 2026 -
0.3.028 Apr 2026Release notes
Open source →Added
Seedsupport e.g.DecapsulationKey::from_seed(#133, #138)- PKCS#8 support (#135)
KeyInit,KeySizeUser, andKeyExportimpls for decapsulation keys
(#156, #228)- Parameter set modules:
ml_kem_512,mk_kem_768,mk_kem_1024
(#162) DecapsulationKey::from_expandeddeprecated compatibility support
(#163)TryKeyInitandKeyExportimpls for encapsulation keys (#188)- Validations against Wycheproof test vectors (#213, #214, #215,
#217) - Implement
kem::Kemtrait (#223) - Support for
kem::FromSeedtrait (#255)
Changed
- Edition changed to 2024 and MSRV bumped to 1.85 (#118)
- Relax MSRV policy and allow MSRV bumps in patch releases
- Upgrade
hybrid-arraydependency to 0.4 (#129) - Extract
module-latticecrate (#199, #202, #204, #209,
#210, #211, #212, #218, #219, #220) - Replace
EncodedSizeUserwithExpandedKeyEncoding(#226) - Bump
getrandomto v0.4 (#245) - Bump
rand_coreto v0.10 (#245) - Migrate from
subtletoctutils(#277) - Bump
sha3dependency to v0.11 (#282) - Bump
kemdependency to v0.3 (#283) - Bump
pkcs8dependency to v0.11 (#291)
Fixed
Removed
Kemstruct andKemCoretrait - replaced bykem::Kem(#223)
Release notes
Open source →Added
Seedsupport e.g.DecapsulationKey::from_seed(#133, #138)- PKCS#8 support (#135)
KeyInit,KeySizeUser, andKeyExportimpls for decapsulation keys (#156, #228)- Parameter set modules:
ml_kem_512,mk_kem_768,mk_kem_1024(#162) DecapsulationKey::from_expandeddeprecated compatibility support (#163)TryKeyInitandKeyExportimpls for encapsulation keys (#188)- Validations against Wycheproof test vectors (#213, #214, #215, #217)
- Implement
kem::Kemtrait (#223) - Support for
kem::FromSeedtrait (#255)
Changed
- Edition changed to 2024 and MSRV bumped to 1.85 (#118)
- Relax MSRV policy and allow MSRV bumps in patch releases
- Upgrade
hybrid-arraydependency to 0.4 (#129) - Extract
module-latticecrate (#199, #202, #204, #209, #210, #211, #212, #218, #219, #220) - Replace
EncodedSizeUserwithExpandedKeyEncoding(#226) - Bump
getrandomto v0.4 (#245) - Bump
rand_coreto v0.10 (#245) - Migrate from
subtletoctutils(#277) - Bump
sha3dependency to v0.11 (#282) - Bump
kemdependency to v0.3 (#283) - Bump
pkcs8dependency to v0.11 (#291)
Fixed
Removed
Kemstruct andKemCoretrait - replaced bykem::Kem(#223)
-
0.3.0-rc.203 Apr 2026 pre-releaseNothing published for this version
-
0.3.0-rc.126 Mar 2026 pre-releaseNothing published for this version
-
0.3.0-rc.005 Feb 2026 pre-releaseNothing published for this version
-
0.3.0-pre.703 Feb 2026 pre-releaseNothing published for this version
-
0.3.0-pre.631 Jan 2026 pre-releaseNothing published for this version
-
0.3.0-pre.525 Jan 2026 pre-releaseNothing published for this version
-
0.3.0-pre.423 Jan 2026 pre-releaseNothing published for this version
-
0.3.0-pre.310 Jan 2026 pre-releaseNothing published for this version
-
0.3.0-pre.231 Oct 2025 pre-releaseNothing published for this version
-
0.3.0-pre.127 Oct 2025 pre-releaseNothing published for this version
-
0.3.0-pre.025 Oct 2025 pre-releaseNothing published for this version
-
0.3.0-pre21 Jan 2025 pre-releaseNothing published for this version
-
0.2.317 Feb 2026 -
0.2.224 Jan 2026 -
0.2.117 Aug 2024 -
0.2.016 Aug 2024Release notes
Open source →Added
DecapsulationKey::encapsulation_key(#48)- Re-export
kem::{Decapsulate, Encapsulate}underkemmodule (#49) - Re-exports
hybrid-arrayasarray(#49)
Changed
- Update to FIPS 203 final (#47)
-
0.1.104 Jun 2024 -
0.1.012 Apr 2024 withdrawn -
0.1.0-alpha04 Mar 2024 pre-release withdrawnNothing published for this version
-
0.0.124 Aug 2023 withdrawnNothing published for this version