Searched refs:hash_pbkdf2 (Results 1 – 7 of 7) sorted by relevance
/PHP-8.1/ext/hash/tests/ |
H A D | hash_pbkdf2_error.phpt | 2 Hash: Test hash_pbkdf2() function : error functionality 9 echo "*** Testing hash_pbkdf2() : error conditions ***\n"; 16 var_dump(hash_pbkdf2('foo', $password, $salt, 1)); 25 var_dump(hash_pbkdf2('crc32', $password, $salt, 1)); 33 var_dump(hash_pbkdf2('md5', $password, $salt, 0)); 40 var_dump(hash_pbkdf2('md5', $password, $salt, -1)); 48 var_dump(hash_pbkdf2('md5', $password, $salt, 1, -1)); 56 *** Testing hash_pbkdf2() : error conditions *** 64 -- Testing hash_pbkdf2() function with invalid iterations -- 65 hash_pbkdf2(): Argument #4 ($iterations) must be greater than 0 [all …]
|
H A D | hash_pbkdf2_basic.phpt | 2 Hash: hash_pbkdf2() function : basic functionality 6 echo "*** Testing hash_pbkdf2() : basic functionality ***\n"; 8 echo "sha1: " . hash_pbkdf2('sha1', 'password', 'salt', 1, 20)."\n"; 9 echo "sha1(no length): " . hash_pbkdf2('sha1', 'password', 'salt', 1)."\n"; 10 echo "sha1(raw): " . bin2hex(hash_pbkdf2('sha1', 'password', 'salt', 1, 20, TRUE))."\n"; 11 echo "sha1(rounds): " . hash_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSALTsa… 13 echo "sha256: " . hash_pbkdf2('sha256', 'password', 'salt', 1, 20)."\n"; 14 echo "sha256(no length): " . hash_pbkdf2('sha256', 'password', 'salt', 1)."\n"; 15 echo "sha256(raw): " . bin2hex(hash_pbkdf2('sha256', 'password', 'salt', 1, 20, TRUE))."\n"; 16 echo "sha256(rounds): " . hash_pbkdf2('sha256', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSA… [all …]
|
H A D | bug64745.phpt | 2 Bug #64745 (hash_pbkdf2() truncates data when using default length and hex output) 5 $hash = hash_pbkdf2('sha1', 'password', 'salt', 1, 0); 6 $rawHash = hash_pbkdf2('sha1', 'password', 'salt', 1, 0, true);
|
/PHP-8.1/ext/hash/ |
H A D | hash.stub.php | 47 function hash_pbkdf2(string $algo, string $password, string $salt, int $iterations, int $length = 0… function
|
H A D | hash_arginfo.h | 149 ZEND_FUNCTION(hash_pbkdf2); 185 ZEND_FE(hash_pbkdf2, arginfo_hash_pbkdf2)
|
H A D | hash.c | 989 PHP_FUNCTION(hash_pbkdf2) in PHP_FUNCTION() argument
|
/PHP-8.1/ |
H A D | NEWS | 430 . Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options
|
Completed in 14 milliseconds