[]Struct nimiq_hash::Argon2dHash

#[repr(C)]
pub struct Argon2dHash(_);

Methods

impl Argon2dHash

pub const SIZE: usize

pub fn len() -> usize

pub fn as_bytes(&self) -> &[u8]

impl Argon2dHash

pub fn to_hex(&self) -> String

Trait Implementations

impl HashOutput for Argon2dHash[src]

impl PartialEq<Argon2dHash> for Argon2dHash

impl<'a> From<&'a [u8]> for Argon2dHash

impl From<[u8; 32]> for Argon2dHash

impl From<Argon2dHash> for [u8; 32]

impl From<&'static str> for Argon2dHash

impl Clone for Argon2dHash

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Ord for Argon2dHash

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Default for Argon2dHash

impl Eq for Argon2dHash

impl PartialOrd<Argon2dHash> for Argon2dHash

impl Debug for Argon2dHash

impl Display for Argon2dHash

impl FromStr for Argon2dHash

type Err = FromHexError

The associated error which can be returned from parsing.

impl Hash for Argon2dHash

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Deserialize for Argon2dHash

impl Serialize for Argon2dHash

fn serialize_to_vec(&self) -> Vec<u8>[src]

Auto Trait Implementations

impl Send for Argon2dHash

impl Sync for Argon2dHash

Blanket Implementations

impl<H> SerializeContent for H where
    H: HashOutput
[src]

impl<H> Hash for H where
    H: HashOutput
[src]

fn hash<H: HashOutput>(&self) -> H[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self