The desired length of the generated password.
Whether to include numeric characters (default: true).
Whether to include lowercase letters (default: true).
Whether to include uppercase letters (default: true).
Whether to include special characters (default: true).
A randomly generated password string.
Generates a random password string based on the specified criteria.