Lines Matching refs:password
6 /* {{{ proto string hash_pbkdf2(string algo, string password, string salt, int iterations [, int le…
7 Generate a PBKDF2 hash of the given password and salt
12 $password = 'password';
18 var_dump(hash_pbkdf2('md5', $password));
19 var_dump(hash_pbkdf2('md5', $password, $salt));
22 var_dump(hash_pbkdf2('md5', $password, $salt, 10, 10, true, 'extra arg'));
25 var_dump(hash_pbkdf2('foo', $password, $salt, 1));
28 var_dump(hash_pbkdf2('crc32', $password, $salt, 1));
31 var_dump(hash_pbkdf2('md5', $password, $salt, 0));
32 var_dump(hash_pbkdf2('md5', $password, $salt, -1));
35 var_dump(hash_pbkdf2('md5', $password, $salt, 1, -1));