Lines Matching refs:crypt
2 crypt() function
5 if (!function_exists('crypt')) {
6 die("SKIP crypt() is not available");
22 echo (CRYPT_STD_DES) ? ((crypt($str, $salt1) === $res_1) ? 'STD' : 'STD - ERROR') : 'STD', "\n";
23 echo (CRYPT_EXT_DES) ? ((crypt($str, $salt2) === $res_2) ? 'EXT' : 'EXT - ERROR') : 'EXT', "\n";
24 echo (CRYPT_MD5) ? ((crypt($str, $salt3) === $res_3) ? 'MD5' : 'MD5 - ERROR') : 'MD5', "\n";
25 echo (CRYPT_BLOWFISH) ? ((crypt($str, $salt4) === $res_4) ? 'BLO' : 'BLO - ERROR') : 'BLO', "\n";
27 var_dump(crypt($str));
28 var_dump(crypt());
29 var_dump(crypt("", "", ""));
39 Warning: crypt() expects at least 1 parameter, 0 given in %s on line %d
42 Warning: crypt() expects at most 2 parameters, 3 given in %s on line %d