Struct libpasta::primitives::Argon2 [] [src]

pub struct Argon2 { /* fields omitted */ }

Parameter set for Argon2.

This implementation is backed by the argon2rs crate.

Methods

impl Argon2
[src]

Get the default Argon2i parameter set

Creates a new Argon2i instance

Trait Implementations

impl PrimitiveImpl for Argon2
[src]

Compute the output of the primitive with input password and salt.

Output the parameters of the primitive as a list of tuples.

Return algorithm type as a MCF-compatible hash identifier.

Verify the password and salt against the hash. Read more

impl Debug for Argon2
[src]

Formats the value using the given formatter.