Struct sha::shake256::Shake256
[-] [+]
[src]
pub struct Shake256(_, _);
TODO: docs
Trait Implementations
impl Default for Shake256
impl Reset for Shake256
fn reset(&mut self)
Reset the state
impl Write for Shake256
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write to buffer
fn flush(&mut self) -> Result<()>
Digest buffer
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
impl Read for Shake256
fn read(&mut self, buf: &mut [u8]) -> Result<usize>
Read state as big-endian
fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<(), Error>
fn read_to_string(&mut self, buf: &mut String) -> Result<(), Error>
impl Hasher for Shake256
fn finish(&self) -> u64
Get the first 8 bytes of the state
fn write(&mut self, buf: &[u8])
Write to buffer