imaging_api.utils.passwords
Functions
|
Generate a complex password similar to MlkPwgen.PasswordGenerator.GenerateComplex. |
Module Contents
- imaging_api.utils.passwords.generate_complex_password(length: int = 15) str[source]
Generate a complex password similar to MlkPwgen.PasswordGenerator.GenerateComplex.
- Parameters:
length (int) – Length of the password to generate. Default is 15.
- Returns:
A complex password of the requested length containing at least one lowercase letter, one uppercase letter, one digit, and one special character.
- Return type:
str