Skip to main content

Ciphertext

Type Alias Ciphertext 

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

Ciphertext message (a.k.a. “encapsulated key”) produced by Encapsulate::encapsulate which is an encrypted SharedKey that can be decrypted using Decapsulate::decapsulate.

Aliased Type§

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

Tuple Fields§

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