Struct blake2::Blake2s
[−]
[src]
pub struct Blake2s { /* fields omitted */ }
Hash function context.
Methods
impl Blake2s
[src]
fn new_keyed(k: &[u8]) -> Self
Creates a new hashing context with a key.
Trait Implementations
impl Copy for Blake2s
[src]
impl Clone for Blake2s
[src]
fn clone(&self) -> Blake2s
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 Blake2s
[src]
impl Digest for Blake2s
[src]
type OutputSize = U32
type BlockSize = U32
fn input(&mut self, input: &[u8])
Digest input data. This method can be called repeatedly for use with streaming messages. Read more
fn result(self) -> GenericArray<u8, U32>
Retrieve the digest result. This method consumes digest instance.
fn block_bytes(&self) -> usize
Get the block size in bytes.
fn block_bits(&self) -> usize
Get the block size in bits.
fn output_bytes(&self) -> usize
Get the output size in bytes.
fn output_bits(&self) -> usize
Get the output size in bits.