mentors

mentors Git Source Tree


Root/vendor/ircmaxell/password-compat/version-test.php

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

Archive Download this file

Branches

Number of commits:
Page rendered in 0.13212s using 11 queries.