PasswordGenerator.GeneratePassword
Generates a random password using the specified character types and length.
Parameters:
Returns: string — The generated password.
Exceptions: