[−][src]Function passwords::hasher::identify_bcrypt
pub fn identify_bcrypt<T: ?Sized + AsRef<[u8]>, K: ?Sized + AsRef<[u8]>>(
cost: u8,
salt: &K,
password: &T,
hashed: &[u8; 24]
) -> Result<bool, &'static str>
Identify a plain text password by using the bcrypt-hashed data we've stored before.