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.

Important traits for Vec<u8>

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

Trait Implementations

impl __Deref for DEFAULT_ALG

The resulting type after dereferencing.

Dereferences the value.

impl LazyStatic for DEFAULT_ALG

Auto Trait Implementations

impl Send for DEFAULT_ALG

impl Sync for DEFAULT_ALG