Struct sha3::Shake128 [−][src]
pub struct Shake128 { /* fields omitted */ }
Trait Implementations
impl Clone for Shake128
[src]
impl Clone for Shake128
ⓘImportant traits for Shake128fn clone(&self) -> Shake128
[src]
fn clone(&self) -> Shake128
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Default for Shake128
[src]
impl Default for Shake128
ⓘImportant traits for Shake128fn default() -> Shake128
[src]
fn default() -> Shake128
Returns the "default value" for a type. Read more
impl Input for Shake128
[src]
impl Input for Shake128
fn input<B: AsRef<[u8]>>(&mut self, input: B)
[src]
fn input<B: AsRef<[u8]>>(&mut self, input: B)
Digest input data. Read more
fn chain<B>(self, data: B) -> Self where
B: AsRef<[u8]>,
[src]
fn chain<B>(self, data: B) -> Self where
B: AsRef<[u8]>,
Digest input data in a chained manner.
impl ExtendableOutput for Shake128
[src]
impl ExtendableOutput for Shake128
type Reader = Sha3XofReader
ⓘImportant traits for Sha3XofReaderfn xof_result(self) -> Sha3XofReader
[src]
fn xof_result(self) -> Sha3XofReader
Retrieve XOF reader and consume hasher instance.
fn vec_result(self, n: usize) -> Vec<u8>
[src]
fn vec_result(self, n: usize) -> Vec<u8>
Retrieve result into vector of specified length.
impl Reset for Shake128
[src]
impl Reset for Shake128
impl Debug for Shake128
impl Debug for Shake128
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Write for Shake128
impl Write for Shake128
fn write(&mut self, buf: &[u8]) -> Result<usize>
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0[src]
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
Writes a formatted string into this writer, returning any error encountered. Read more
ⓘImportant traits for &'a mut Ifn by_ref(&mut self) -> &mut Self
1.0.0[src]
fn by_ref(&mut self) -> &mut Self
Creates a "by reference" adaptor for this instance of Write
. Read more