hpke
An implementation of the HPKE hybrid encryption standard (RFC 9180) in pure Rust
0.14.0
8.0M downloads/mo
#3518 most downloaded on crates.io
rozbb/rust-hpke
What this package is like to depend on
Last release 1 months ago
09 Jul 2026
Ships fairly regularly
a new release about every 5 months
Rarely documented
notes for 6 of 27 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
29 releases · first in 2020
3 releases in the last 12 months
see the full history below
Release timeline
29 releases · May 2020 to Jul 2026Releases
latest 29-
0.14.009 Jul 2026Release notes
Open source →-
Bump version, update CHANGELOG and README
-
Bump edition
-
Upgrade p521 dep to major release
-
Upgrade x-wing dep to major release
-
Update to latest PQ test vectors
Release notes
Open source →Breaking Changes
- Bumped Rust edition to 2024
- Bumped MSRV to 1.85.0 (2025-02-20)
- Updated
randandrand_core - Renamed every function that took an RNG to
*_with_rng, and removed therngparameter from the function with the original name (gated bygetrandom) (#97) - Feature-gated AES-GCM and ChaCha20Poly1305 behind
aesandchachafeatures, respectively (#91) - Consolidated feature flags (#106)
- Replaced
generic-arraywithhybrid-array(#82) - Switched all
_in_placealgorithms to_inout, and replaced&mut [u8]withinout::InOut<'_, '_, u8>(#82) - Updated RustCrypto crates
aead,aes-gcm,chacha20poly1305,digest,hkdf,hmac
Other Changes
-
-
0.14.0-pre.225 Feb 2026 pre-release -
0.14.0-pre.125 Nov 2025 pre-release -
0.13.019 Feb 2025Release notes
Open source →Changes
- Made
PskBundlerequire an explicit constructor that performs validation on inputs - Updated
randandrand_coreto 0.9
- Made
-
0.12.003 Jul 2024Release notes
Open source →Additions
- Added
Serializable::write_exactso serialization requires less stack space - Added support for the P-521 curve
Changes
- Constrained
Aead::AeadImplto beSend + Sync - Bumped
subtledependency and removedbyteorderdependency
Removals
- Removed all impls of
serde::{Serialize, Deserialize}from crate. See wiki for migration instructions.
- Added
-
0.11.011 Oct 2023Release notes
Open source →Removals
- Removed the redundant re-export of the first encapsulated key type as
kem::EncappedKey
Changes
- Updated
x25519-dalekto 2.0 - Updated
subtleto 2.5
- Removed the redundant re-export of the first encapsulated key type as
-
0.10.002 Oct 2022Release notes
Open source →Additions
- Added
allocfeature and feature-gated theopen()andseal()methods behind it
Changes
- Bumped MSRV from 1.56.1 (
59eed8a2a2021-11-01) to 1.57.0 (f1edd04292021-11-29) - Updated dependencies and weakened
zeroizedependency from>=1.3to just^1 - Improved documentation for the AEAD
export()method and the KDFlabeled_expand()method
- Added
-
0.9.005 May 2022Release notes
Open source →Additions
- Refactored some internals so end users can theoretically define their own KEMs. See PR #27.
Changes
- Bumped MSRV from 1.51.0 (
2fd73fabe2021-03-23) to 1.56.1 (59eed8a2a2021-11-01) - Updated dependencies
-
0.8.005 Dec 2021Nothing published for this version
-
0.7.101 Sep 2021Nothing published for this version
-
0.7.021 Aug 2021Nothing published for this version
-
0.6.011 May 2021Nothing published for this version
-
0.5.121 Mar 2021Nothing published for this version
-
0.5.022 Feb 2021Nothing published for this version
-
0.4.322 Jan 2021Nothing published for this version
-
0.4.216 Dec 2020Nothing published for this version
-
0.4.109 Nov 2020Nothing published for this version
-
0.4.001 Nov 2020Nothing published for this version
-
0.3.108 Sep 2020Nothing published for this version
-
0.3.002 Sep 2020Nothing published for this version
-
0.2.131 Aug 2020Nothing published for this version
-
0.2.013 Aug 2020Nothing published for this version
-
0.1.817 Jul 2020Nothing published for this version
-
0.1.710 Jul 2020Nothing published for this version
-
0.1.517 Jun 2020Nothing published for this version
-
0.1.412 Jun 2020Nothing published for this version
-
0.1.326 May 2020Nothing published for this version
-
0.1.219 May 2020Nothing published for this version
-
0.1.112 May 2020Nothing published for this version