Trait kem::EncappedKey [−][src]
pub trait EncappedKey: AsRef<[u8]> + Debug + Sized {
type NSecret: ArrayLength<u8>;
type SenderPublicKey;
type RecipientPublicKey;
}
Expand description
Trait impl’d by concrete types that represent an encapsulated key. This is intended to be, in essence, a bag of bytes.
Associated Types
type NSecret: ArrayLength<u8>
type NSecret: ArrayLength<u8>
The size of the shared secret that this KEM produces
type SenderPublicKey
type SenderPublicKey
Represents the identity key of an encapsulator. This is used in authenticated decapsulation.
The public key of a decapsulator. This is used in encapsulation.