pub fn make_password_with_algorithm( password: &str, algorithm: Algorithm, ) -> String
Based on the current Django version, generates an encoded hash given a password and algorithm, uses a random salt.