kem
Traits for Key Encapsulation Mechanisms (KEMs): public-key cryptosystems designed to enable a sender (a.k.a. encapsulator) to generate and encrypt a short secret key and transmit it to a receiver (a.k.a. decapsulator) confidentially
0.3.0
5.2M downloads/mo
#4460 most downloaded on crates.io
RustCrypto/traits
What this package is like to depend on
Last release 4 months ago
03 Apr 2026
Ships unpredictably
gaps range from 1 weeks to 1.9 years
Nearly every release is documented
notes for 3 of 3 stable releases
12 versions withdrawn
withdrawn after publishing
6 years old
23 releases · first in 2021
19 releases in the last 12 months
see the full history below
Release timeline
23 releases · Feb 2021 to Apr 2026Releases
latest 23-
0.4.0-rc.523 Jan 2026 pre-release withdrawnNothing published for this version
-
0.4.0-rc.420 Jan 2026 pre-release withdrawnNothing published for this version
-
0.4.0-rc.319 Jan 2026 pre-release withdrawnNothing published for this version
-
0.4.0-rc.209 Jan 2026 pre-release withdrawnNothing published for this version
-
0.4.0-rc.127 Dec 2025 pre-release withdrawnNothing published for this version
-
0.4.0-rc.026 Dec 2025 pre-release withdrawnNothing published for this version
-
0.4.0-pre.205 Nov 2025 pre-release withdrawnNothing published for this version
-
0.4.0-pre.131 Oct 2025 pre-release withdrawnNothing published for this version
-
0.4.0-pre.030 Oct 2025 pre-release withdrawnNothing published for this version
-
0.3.003 Apr 2026Release notes
Open source →This release is effectively a complete rewrite of the
kemcrate. Any similarities between trait names in this release and previous releases is coincidental. The log below highlights some of the new parts of the API but will provide an incomplete picture of changes.Added
EncapsulateandDecapsulatetraits (#1509)getrandomfeature (#2140)- Re-exports from
crypto-common(#2222)- re-exports
crypto-commonitself ascommon - re-exports
KeyInit, which is useful for seeds - re-exports
Keyas the type for representing serialized encapsulation and decapsulation keys - re-exports
InvalidKeyas the error whenTryKeyInitfails
- re-exports
TryDecapsulatetrait (#2220, #2235)Kemtrait for the whole algorithm type family (#2243)FromSeedtrait andSeedtype alias (#2284)
Changed
Decapsulatortrait replaced with new implementation ([#2282])
Removed
- Previous implementation (#1509)
Changed
-
0.3.0-rc.605 Feb 2026 pre-releaseNothing published for this version
-
0.3.0-rc.505 Feb 2026 pre-releaseNothing published for this version
-
0.3.0-rc.401 Feb 2026 pre-releaseNothing published for this version
-
0.3.0-rc.330 Jan 2026 pre-releaseNothing published for this version
-
0.3.0-rc.224 Jan 2026 pre-releaseNothing published for this version
-
0.3.0-rc.124 Jan 2026 pre-releaseNothing published for this version
-
0.3.0-rc.023 Jan 2026 pre-releaseNothing published for this version
-
0.3.0-pre.227 Oct 2025 pre-release withdrawnNothing published for this version
-
0.3.0-pre.125 Oct 2025 pre-release withdrawnNothing published for this version
-
0.3.0-pre.017 Apr 2024 pre-releaseNothing published for this version
-
0.2.026 May 2022 -
0.1.003 Jan 2022 -
0.0.009 Feb 2021 withdrawnNothing published for this version