Skip to content

Commit 23118ea

Browse files
authored
kem v0.3.0 (#2356)
This release is effectively a complete rewrite of the `kem` crate. 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 - `Encapsulate` and `Decapsulate` traits (#1509) - `getrandom` feature (#2140) - Re-exports from `crypto-common` (#2222) - re-exports `crypto-common` itself as `common` - re-exports `KeyInit`, which is useful for seeds - re-exports `Key` as the type for representing serialized encapsulation and decapsulation keys - re-exports `InvalidKey` as the error when `TryKeyInit` fails - `TryDecapsulate` trait (#2220, #2235) - `Kem` trait for the whole algorithm type family (#2243) - `FromSeed` trait and `Seed` type alias (#2284) ## Changed - `Decapsulator` trait replaced with new implementation (#2282) ## Removed - Previous implementation (#1509)
1 parent 13beea5 commit 23118ea

4 files changed

Lines changed: 36 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kem/CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,39 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## 0.3.0 (UNRELEASED)
7+
## 0.3.0 (2026-02-04)
8+
9+
This release is effectively a complete rewrite of the `kem` crate. Any similarities between trait
10+
names in this release and previous releases is coincidental. The log below highlights some of the
11+
new parts of the API but will provide an incomplete picture of changes.
12+
13+
### Added
14+
- `Encapsulate` and `Decapsulate` traits ([#1509])
15+
- `getrandom` feature ([#2140])
16+
- Re-exports from `crypto-common` ([#2222])
17+
- re-exports `crypto-common` itself as `common`
18+
- re-exports `KeyInit`, which is useful for seeds
19+
- re-exports `Key` as the type for representing serialized encapsulation and decapsulation keys
20+
- re-exports `InvalidKey` as the error when `TryKeyInit` fails
21+
- `TryDecapsulate` trait ([#2220], [#2235])
22+
- `Kem` trait for the whole algorithm type family ([#2243])
23+
- `FromSeed` trait and `Seed` type alias ([#2284])
24+
25+
### Changed
26+
- `Decapsulator` trait replaced with new implementation ([#2282])
27+
28+
### Removed
29+
- Previous implementation ([#1509])
30+
31+
[#1509]: https://github.com/RustCrypto/traits/pull/1509
32+
[#2140]: https://github.com/RustCrypto/traits/pull/2140
33+
[#2140]: https://github.com/RustCrypto/traits/pull/2140
34+
[#2222]: https://github.com/RustCrypto/traits/pull/2222
35+
[#2220]: https://github.com/RustCrypto/traits/pull/2220
36+
[#2235]: https://github.com/RustCrypto/traits/pull/2235
37+
[#2243]: https://github.com/RustCrypto/traits/pull/2243
38+
[#2284]: https://github.com/RustCrypto/traits/pull/2284
39+
840
### Changed
941
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759])
1042
- Bump `rand_core` to v0.10 ([#2250])

kem/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kem"
3-
version = "0.3.0-rc.6"
3+
version = "0.3.0"
44
authors = ["RustCrypto Developers"]
55
edition = "2024"
66
rust-version = "1.85"

kem/LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2021-2025 RustCrypto Developers
1+
Copyright (c) 2021-2026 RustCrypto Developers
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

0 commit comments

Comments
 (0)