public function rule_crack($a)
{
$result = null;
if (function_exists('crack_check')) {
if (!crack_check($a)) {
return $this->fail('Bad password - ' . crack_getlastmessage());
}
return;
}
$res = $this->checkByCrackLib($a);
if ($res === true) {
return;
}
return $this->fail('Bad password - ' . $res);
}