Skip to main content

SharedKey

Type Alias SharedKey 

Source
pub type SharedKey<K> = Array<u8, <K as Kem>::SharedKeySize>;
Expand description

Shared key: plaintext produced after decapsulation by Decapsulate::decapsulate which is also returned by Encapsulate::encapsulate, which is the shared secret resulting from the key encapsulation algorithm.

Aliased Type§

#[repr(transparent)]
pub struct SharedKey<K>(pub <<K as Kem>::SharedKeySize as ArraySize>::ArrayType<u8>);

Tuple Fields§

§0: <<K as Kem>::SharedKeySize as ArraySize>::ArrayType<u8>