[][src]Crate pbkdf2_identifier

Enums

HashPrimitive

A wrapper around various common primitives used for PBKDF2. Implements a name and the closure to compute the values. This will later on be a userful abstraction when differentiating between webassembly and multithreaded code.

Statics

PRIMITIVES

A list of the hash algorithms to try

Functions

identify_all

Tries to find the iteration count and the hash algorithm of the hash. password - The password of the hash hash - The hash itself salt - The salt used in the derivation max - The maximum number of iteration to try. Use 0 to try until aborted.

identify_iterations

Tries to find the iteration count of the hash knowing its algorithm. password - The password of the hash hash - The hash itself salt - The salt used in the derivation max - The maximum number of iteration to try. Use 0 to try until aborted.