[]Trait recrypt::api::RandomBytesGen

pub trait RandomBytesGen {
    pub fn random_bytes_32(&self) -> [u8; 32];
pub fn random_bytes_60(&self) -> [u8; 60]; }

Generation of random bytes for cryptographic operations

Required methods

pub fn random_bytes_32(&self) -> [u8; 32]

pub fn random_bytes_60(&self) -> [u8; 60]

Loading content...

Implementors

impl<CR: CryptoRng + RngCore> RandomBytesGen for RandomBytes<CR>

Loading content...