the whole shebang
This commit is contained in:
8
vendor/ircmaxell/password-compat/version-test.php
vendored
Normal file
8
vendor/ircmaxell/password-compat/version-test.php
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
$hash = '$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG';
|
||||
$test = crypt("password", $hash);
|
||||
$pass = $test == $hash;
|
||||
|
||||
echo "Test for functionality of compat library: " . ($pass ? "Pass" : "Fail");
|
||||
echo "\n";
|
Reference in New Issue
Block a user