bolknote/libcrackwrapper

Binding for libcrack library

Maintainers

Package info

github.com/bolknote/LibCrackWrapper

pkg:composer/bolknote/libcrackwrapper

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.6.2 2023-06-29 13:04 UTC

This package is auto-updated.

Last update: 2026-04-19 20:49:49 UTC


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";
}