I am working on a random password generator to create passwords that meet certain conditions, including, but not necessarily:
- minimum length: must contain at least 8 characters
- lowercase letters: must contain lowercase letters (selected from the set to avoid problems with characters that might be mistaken as numbers)
- uppercase letters: must contain uppercase letters (again, selected from the set)
- digits: must contain numbers
What would be the best algorithmic approach to ensure that the generated password matches all of these?
I'm not looking for a complete solution, I need only a few good ideas and recommendations.
source
share