Example #1
0
 public function isValid($password, $hash, $salt = null)
 {
     $validator = new EncryptPassword();
     $validator->mozokCheck($password, $hash, $salt);
 }
Example #2
0
 public function testPasswordValidation()
 {
     $enc = new EncryptPassword();
     $this->assertTrue(TRUE, $enc->mozokCheck("65def8bf2cf5", "8dee84fad401f8e8d4f3e980cc8cc4ecb8635fc2", "b119ca7e"));
 }