bolknote / libcrackwrapper
Binding for libcrack library
0.6.2
2023-06-29 13:04 UTC
Requires
- php: ^7.3
- ext-ffi: *
Requires (Dev)
- phpunit/phpunit: ^9.5
README
This library allows you to check the password strength
Basic usage
$checker = new \LibCrackWrapper\Wrapper(); $result = $checker->checkPassword($password); if ($result->isStrongPassword()) { echo "Your password is good enough.\n"; } else { echo "This is a weak password. Reason: ", $result->getMessage(), "\n"; }