Struct octavo_digest::sha3::Sha256
[−]
[src]
pub struct Sha256 { /* fields omitted */ }
Trait Implementations
impl Clone for Sha256
[src]
fn clone(&self) -> Sha256
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Sha256
[src]
impl Digest for Sha256
[src]
type OutputBits = U256
Output size in bits
type OutputBytes = <U256 as Div<U8>>::Output
Output size in bytes
type BlockSize = U136
Block size in bytes
fn update<T>(&mut self, data: T) where
T: AsRef<[u8]>,
T: AsRef<[u8]>,
Update digest with data.
fn result<T>(self, out: T) where
T: AsMut<[u8]>,
T: AsMut<[u8]>,
Write resulting hash into output
. Read more
fn output_bits() -> usize
Output size in bits
fn output_bytes() -> usize
Output size in bytes
fn block_size() -> usize
Block size in bytes