pub fn generate_password( username: &str, password: &str, realm: &str, algorithm: PasswordAlgorithm, ) -> Password