oa::Shake128

Incremental SHAKE-128 context.

StRust public API

Declaration

pub struct Shake128(/* private fields */);
Public Rust declaration.

Public Methods

pub fn update(&mut self, input: &[u8]) -> Result<()>
pub fn squeeze(&mut self, output: &mut [u8])
pub fn reset(&mut self)

Associated Functions

pub fn new() -> Self
fn default() -> Self

Public Method Documentation

pub fn update(&mut self, input: &[u8]) -> Result<()>
No public source comment is attached to this declaration.
pub fn squeeze( &mut self, output: &mut [u8] )
No public source comment is attached to this declaration.
pub fn reset( &mut self )
No public source comment is attached to this declaration.
pub fn new() -> Self
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.