Trait djangohashers::Hasher
source · pub trait Hasher {
// Required methods
fn verify(&self, password: &str, encoded: &str) -> Result<bool, HasherError>;
fn encode(&self, password: &str, salt: &str, iterations: u32) -> String;
}
Expand description
Hasher abstraction, providing methods to encode and verify hashes.