2019-04-14 21:24:39 +02:00
|
|
|
# Mk0.Tools.Password
|
2019-04-14 09:45:56 +02:00
|
|
|
(C) 2019 mk0.at
|
|
|
|
|
|
|
|
This includes the PasswordStrength Class which calculates the strength of a password.
|
|
|
|
Usage:
|
|
|
|
double score = PasswordStrength.Score("Te$tPassw0rD");
|
2019-04-14 21:24:39 +02:00
|
|
|
|
|
|
|
Also there is a password Generator.
|
|
|
|
Usage:
|
|
|
|
string password = new PasswordGenerator().Next();
|
|
|
|
|
|
|
|
You can use following one, some or all optional parameters:
|
|
|
|
PasswordGenerator(int length, bool lowercase, bool uppercase, bool numeric, bool specialchars);
|