File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 4949//! # }
5050//! ```
5151//!
52+ //! ## Serialization
53+ //!
54+ //! The [`KeyInit`] and [`KeyExport`] traits can be used to load and store encoded decapsulation
55+ //! and encapsulation keys from their byte serialization.
56+ //!
57+ //! Decapsulation keys are often initialized from a compact representation known as a [`Seed`].
58+ //! The [`FromSeed`] trait provides an extension to the [`Kem`] trait for initializing keypairs
59+ //! from a seed value. We recommend the [`KeyInit`] and [`KeyExport`] trait impls on
60+ //! decapsulation keys operate on seed values when there is a choice of multiple key formats
61+ //! (e.g. expanded decapsulation keys).
62+ //!
5263//! [RFC 9180]: https://www.rfc-editor.org/info/rfc9180
5364
5465pub use common:: {
You can’t perform that action at this time.
0 commit comments