Lines Matching refs:crypt
2 crypt() function
16 echo (CRYPT_STD_DES) ? ((crypt($str, $salt1) === $res_1) ? 'STD' : 'STD - ERROR') : 'STD', "\n";
17 echo (CRYPT_EXT_DES) ? ((crypt($str, $salt2) === $res_2) ? 'EXT' : 'EXT - ERROR') : 'EXT', "\n";
18 echo (CRYPT_MD5) ? ((crypt($str, $salt3) === $res_3) ? 'MD5' : 'MD5 - ERROR') : 'MD5', "\n";
19 echo (CRYPT_BLOWFISH) ? ((crypt($str, $salt4) === $res_4) ? 'BLO' : 'BLO - ERROR') : 'BLO', "\n";
21 var_dump(crypt($str));
22 var_dump(crypt());
23 var_dump(crypt("", "", ""));
32 Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a stro…
35 Warning: crypt() expects at least 1 parameter, 0 given in %s on line %d
38 Warning: crypt() expects at most 2 parameters, 3 given in %s on line %d