generate_password

Function generate_password 

Source
pub fn generate_password(config: PasswordRequirements) -> String
Expand description

Generate a password given the constraints specified by config.

This function will invoke PasswordRequirements::validate() to ensure basic password requirements are met.