Some crypt algorithms.
use axy\crypt\APR1;
$hash = APR1::hash($string);
APR1::verify($string, $hash); // TRUEuse axy\crypt\BCrypt;
$hash = BCrypt::hash($string);
BCrypt::verify($string, $hash); // TRUESet computed time (5 by default):
$hash = BCrypt::hash($string, 10);