Struct libpasta::config::DEFAULT_ALG []

pub struct DEFAULT_ALG { /* fields omitted */ }

Default algorithm to use for new hash computations.

Methods from __Deref<Target = Algorithm>

Type-safe function to compute the hash of a password.

Computes the hash output for given password and salt.

Verifies the password, salt and hash are matching by recursively re-computing the hash and verifying the final value.

Test whether the current 'Algorithm` is sufficiently secure.

Copies self into a new Algorithm wrapped by outer

Moves self into a new Algorithm wrapped by outer

Trait Implementations

impl __Deref for DEFAULT_ALG

The resulting type after dereferencing

The method called to dereference a value

impl LazyStatic for DEFAULT_ALG