Struct crypto::hc128::Hc128 [] [src]

pub struct Hc128 {
    // some fields omitted
}

Methods

impl Hc128

fn new(key: &[u8], nonce: &[u8]) -> Hc128

Trait Implementations

impl Clone for Hc128

fn clone(&self) -> Hc128

fn clone_from(&mut self, source: &Self)

impl SynchronousStreamCipher for Hc128

fn process(&mut self, input: &[u8], output: &mut [u8])

impl Encryptor for Hc128

fn encrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, _: bool) -> Result<BufferResult, SymmetricCipherError>

impl Decryptor for Hc128

fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, _: bool) -> Result<BufferResult, SymmetricCipherError>

Derived Implementations

impl Copy for Hc128