generate Password
abstract fun generatePassword(length: Int, upperCase: Boolean, lowerCase: Boolean, special: Boolean, number: Boolean): String
Generates a random password.
Return
generated password.
Parameters
length
password length.
upper Case
true if 1 uppercase is required.
lower Case
true if 1 lowercase is required.
special
true if 1 special character is required.
number
true if 1 numeric character is required.