You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ivan Kozhin edited this page Jul 28, 2020
·
1 revision
PasswordGenerator
The class is to generate and check passwords. Most websites require a new password on user registration, also it is useful to check that the user’s password is secure and ask him to change it in another case. Parameters:
PasswordLength. Password length, default is 10.
CharacterClasses. Is a flag set of LowerLetters, UpperLetters, Digits, SpecialCharacters, and Space. Also, CharacterClasses contains combinations:
AllLetters is a combination of LowerLetter and UpperLetters;
AlphaNumeric is a combination of AllLetters and Digits;
All is a combination of all values above, default value;
GeneratorFlags.
void SetCharactersPool(string pool).
void UseDefaultCharactersPool().
string Generate().
SecureString GenerateSecure().
static int EstimatePasswordStrength(string password).