Generate a secure password for user first time registration or reset the user password is a common task.
This video shows you how to generate a random but secure password, which fill the following security criteria:
1. The password has a certain length
2. contains at least one lowercase
3. contains at least one uppercase
4. contains at least one digit
You will get the code from here:
http://www.codehamster.com/2019/02/12...