[][src]Function pbkdf2_identifier::identify_all

pub fn identify_all(
    password: &[u8],
    hash: &[u8],
    salt: &[u8],
    max: Option<usize>
) -> Option<(HashPrimitive, usize)>

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.