Password
Generator
The PasswordGenerator
class is used to
generate the com.tecknobit.glider.services.passwords.entities.Password
for the user who request the generation
Author
N7ghtm4r3 - Tecknobit
Properties
Link copied to clipboard
BASE_OFFSET
the base offset from the CHARACTERS
lowercase letters
Link copied to clipboard
CHARACTERS
the available characters to generate a password
Link copied to clipboard
generator
the singleton instance of the generator
Link copied to clipboard
SPECIAL_CHARACTERS
the
special characters available to generate a password
Link copied to clipboard
UPPERCASE_LETTERS
the
uppercase letters characters available to generate a
password
Functions
Link copied to clipboard
Link copied to clipboard
Method used to convert the list of the
generated password characters as concatenated string
Link copied to clipboard
Method used to get a valid index from the DIGITS set
Link copied to clipboard
Method used to obtain the instance of the
generator
Link copied to clipboard
Method used to get a valid index from the SPECIAL_CHARACTERS
set
Link copied to clipboard
Method used to get a valid index from the UPPERCASE_LETTERS
set
Link copied to clipboard
private open fun guaranteeConstraintCharacters( password: ArrayList<Character>, secureRandom: SecureRandom, includeNumbers: Boolean, includeUppercaseLetters: Boolean, includeSpecialCharacters: Boolean)
Method used to guarantee the password has
the requested constraint characters