Type Alias PlainText

Source
pub type PlainText<const N: usize> = [u8; N];

Trait Implementations§

Source§

impl<T: OreCipher, const N: usize> OreEncrypt<T> for PlainText<N>

Source§

type LeftOutput = Left<T, N>

Source§

type FullOutput = CipherText<T, N>

Source§

fn encrypt_left(&self, cipher: &T) -> Result<Self::LeftOutput, OreError>

Source§

fn encrypt(&self, cipher: &T) -> Result<Self::FullOutput, OreError>