Struct ntru::rand::NtruRandContext [] [src]

pub struct NtruRandContext {
    // some fields omitted
}

A random context for key generation and encryption

Methods

impl NtruRandContext
[src]

fn get_seed(&self) -> &[u8]

fn set_seed(&mut self, seed: &[u8])

fn get_rng(&self) -> &NtruRandGen

Trait Implementations

impl Default for NtruRandContext
[src]

fn default() -> NtruRandContext

Returns the "default value" for a type. Read more

impl Drop for NtruRandContext
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more