Struct libpasta::primitives::Pbkdf2 [] [src]

pub struct Pbkdf2 { /* fields omitted */ }

Struct holding PBKDF2 parameters.

This implementation is backed by fastpbkdf2.

Methods

impl Pbkdf2
[src]

Create a new PBKDF2 instance using defaults.

Create a new PBKDF2 instance.

Trait Implementations

impl PrimitiveImpl for Pbkdf2
[src]

Compute the scrypt hash

Convert parameters into a vector of (key, value) tuples for serializing.

Return algorithm type as a MCF-compatible hash identifier.

Verify the password and salt against the hash. Read more

impl Debug for Pbkdf2
[src]

Formats the value using the given formatter.