I am trying to come up with a function that can generate random passwords that must meet the following requirements:
- Between 8 and 14 characters
- Contains at least one of the following: lowercase, uppercase, punctuation, and number
what would be best in this, so that the function can generate all possible passwords that match the specified requirements?
source
share