Struct blake2b::Blake2b
[−]
[src]
pub struct Blake2b { /* fields omitted */ }
Methods
impl Blake2b
[src]
fn new(len: usize) -> Self
fn keyed(len: usize, key: &[u8]) -> Self
fn with_parameter_block(len: usize, parameter_block: ParameterBlock) -> Self
fn with_parameter_block_keyed(
len: usize,
key: &[u8],
parameter_block: ParameterBlock
) -> Self
len: usize,
key: &[u8],
parameter_block: ParameterBlock
) -> Self
fn len(&self) -> usize
fn update(&mut self, data: &[u8])
fn finish(self) -> Hash
Trait Implementations
impl Copy for Blake2b
[src]
impl Clone for Blake2b
[src]
fn clone(&self) -> Blake2b
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 Debug for Blake2b
[src]
impl Eq for Blake2b
[src]
impl Hash for Blake2b
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Blake2b
[src]
fn eq(&self, __arg_0: &Blake2b) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Blake2b) -> bool
This method tests for !=
.