Struct rabbit::Rabbit [] [src]

pub struct Rabbit { /* fields omitted */ }

Methods

impl Rabbit
[src]

Setupы given key on an empty rabbit state.

Setupы given key on an empty rabbit state, then setupы initialization vector iv on it.

Restores master state.

Restores master state, than setups initialization vector iv on it.

Encrypts and writes bytes of data to buf. Asserts that buf.len() >= data.len().

Decrypts and writes bytes of data to buf. Asserts that buf.len() >= data.len().

Encrypts bytes of data inplace.

Decrypts bytes of data inplace.