Struct blake2::Blake2b
[−]
[src]
pub struct Blake2b<N> where N: ArrayLength<u8> + Copy { /* fields omitted */ }
Methods
impl<N> Blake2b<N> where N: ArrayLength<u8> + Copy
[src]
Trait Implementations
impl<N: Copy> Copy for Blake2b<N> where N: ArrayLength<u8> + Copy
[src]
impl<N> Clone for Blake2b<N> where N: ArrayLength<u8> + Copy
[src]
fn clone(&self) -> Blake2b<N>
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<N> Default for Blake2b<N> where N: ArrayLength<u8> + Copy
[src]
impl<L> Digest for Blake2b<L> where L: ArrayLength<u8> + Copy
[src]
type N = L
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, Self::N>
Retrieve the digest result. This method consumes digest instance
fn block_size(&self) -> usize
Get the block size in bytes.
fn new() -> Self
Create new digest instance
fn output_bytes(&self) -> usize
Get the output size in bytes.
fn output_bits(&self) -> usize
Get the output size in bits.