int quality = PassQuality::PassSecurity(str);
if(quality == 1) {
std::cout << "Found! You should change this password.";
} else if(quality == 2) {
std::cout << "PassList not found.";
} else {
std::cout << "Not found, yey!.\nNow, Running PassSecurity2.";
quality = PassQuality::PassSecurity2(str);
if(quality == 1) {
std::cout << "Found! You should change this password.";
} else if(quality == 2) {
std::cout << "PassList2 not found.";
} else {
std::cout << "\nNow, Running PassSecurity2.\n";
quality = PassQuality::PassSecurity3(str);
if(quality == 1) {
std::cout << "Found! You should change this password.";
} else if(quality == 2) {
std::cout << "PassList3 not found.";
} else {
std::cout << "Not found, yey!\nYour password not found from all three passlist.";
}
}
}
Single header Password Quality and Security Library.
License
ferhatgec/passplusplus
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Single header Password Quality and Security Library.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published