pub fn generate_password(config: PasswordRequirements) -> StringExpand description
Generate a password given the constraints specified by config.
This function will invoke PasswordRequirements::validate() to
ensure basic password requirements are met.