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> Digest for Blake2b<N> where N: ArrayLength<u8> + Copy
[src]
type R = N
type B = U64
fn new() -> Blake2b<N>
Create new digest instance.
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::R>
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.