Struct libpasta::hashing::Output [] [src]

pub struct Output {
    pub alg: Algorithm,
    pub salt: Vec<u8>,
    pub hash: Vec<u8>,
}

Represents the output of a password hashing algorithm.

Fields

The algorithm used

The salt

The hash output

Methods

impl Output
[src]

Verifies that the supplied password matches the hashed value.

Trait Implementations

impl<'de> Deserialize<'de> for Output
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Output
[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for Output
[src]

Formats the value using the given formatter.