Home
last modified time | relevance | path

Searched refs:rounds (Results 1 – 11 of 11) sorted by relevance

/PHP-7.4/ext/standard/tests/strings/
H A Dcrypt_sha256.phpt13 '$5$rounds=10000$saltstringsaltstring',
15 '$5$rounds=10000$saltstringsaltst$3xv.VbSHBb41AL9AvLeujZkZRBAwqFMz2.opqey6IcA'
18 '$5$rounds=10000$saltstringsaltstring',
20 '$5$rounds=10000$saltstringsaltst$3xv.VbSHBb41AL9AvLeujZkZRBAwqFMz2.opqey6IcA'
23 '$5$rounds=5000$toolongsaltstring',
28 '$5$rounds=1400$anotherlongsaltstring',
33 '$5$rounds=77777$short',
35 '$5$rounds=77777$short$JiO1O3ZpDAxGJeaDIuqCoEFysAe1mZNJRs3pw0KQRd/'
38 '$5$rounds=123456$asaltof16chars..',
43 '$5$rounds=10$roundstoolow',
[all …]
H A Dcrypt_sha512.phpt13 '$6$rounds=10000$saltstringsaltstring',
15 …'$6$rounds=10000$saltstringsaltst$OW1/O6BYHV6BcXZu8QVeXbDWra3Oeqh0sbHbbMCVNSnCM/UrjmM0Dp8vOuZeHBy/…
18 '$6$rounds=5000$toolongsaltstring',
20 …'$6$rounds=5000$toolongsaltstrin$lQ8jolhgVRVhY4b5pZKaysCLi0QBxGoNeKQzQ3glMhwllF7oGDZxUhx1yxdYcz/e1…
23 '$6$rounds=1400$anotherlongsaltstring',
25 …'$6$rounds=1400$anotherlongsalts$POfYwTEok97VWcjxIiSOjiykti.o/pQs.wPvMxQ6Fm7I6IoYN3CmLs66x9t0oSwbt…
28 '$6$rounds=77777$short',
30 …'$6$rounds=77777$short$WuQyW2YR.hBNpjjRhpYD/ifIw05xdfeEyQoMxIXbkvr0gge1a1x3yRULJ5CCaUeOxFmtlcGZelF…
33 '$6$rounds=123456$asaltof16chars..',
38 '$6$rounds=10$roundstoolow',
[all …]
H A Dcrypt_blowfish_variation2.phpt2 Test Blowfish crypt() does not fall back to DES when rounds are not specified,
H A Dcrypt_blowfish_variation1.phpt2 Test Blowfish crypt() with invalid rounds
/PHP-7.4/ext/hash/tests/
H A Dhash_pbkdf2_basic.phpt17 echo "sha1(rounds): " . hash_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSALTsa…
18 echo "sha1(rounds)(raw): " . bin2hex(hash_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltS…
22 echo "sha256(rounds): " . hash_pbkdf2('sha256', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSA…
23 echo "sha256(rounds)(raw): " . bin2hex(hash_pbkdf2('sha256', 'passwordPASSWORDpassword', 'saltSALTs…
32 sha1(rounds): 3d2eec4fe41c849b80c8d8366
33 sha1(rounds)(raw): 3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038
37 sha256(rounds): 348c89dbcbd32b2f32d814b8116e84cf2b17347e
38 sha256(rounds)(raw): 348c89dbcbd32b2f32d814b8116e84cf2b17347ebc1800181c4e2a1fb8dd53e1c635518c7dac47…
/PHP-7.4/ext/standard/
H A Dcrypt_sha256.c346 size_t rounds = ROUNDS_DEFAULT; in php_sha256_crypt_r() local
362 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); in php_sha256_crypt_r()
468 for (cnt = 0; cnt < rounds; ++cnt) { in php_sha256_crypt_r()
507 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
509 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
H A Dcrypt_sha512.c379 size_t rounds = ROUNDS_DEFAULT; in php_sha512_crypt_r() local
396 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); in php_sha512_crypt_r()
503 for (cnt = 0; cnt < rounds; ++cnt) { in php_sha512_crypt_r()
542 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
544 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
/PHP-7.4/ext/standard/tests/password/
H A Dpassword_needs_rehash.phpt40 var_dump(password_needs_rehash(crypt('Example', '$6$rounds=5000$aa$'), PASSWORD_DEFAULT));
/PHP-7.4/ext/hash/
H A Dhash.c630 size_t rounds; in PHP_FUNCTION() local
681 for (i = 1, rounds = (length - 1) / ops->digest_size + 1; i <= rounds; i++) { in PHP_FUNCTION()
705 (i == rounds ? length - ((i - 1) * ops->digest_size) : ops->digest_size) in PHP_FUNCTION()
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます478 #>>>>>&1 regex/1l .* \b, PBKDF2 rounds: %s
17654 >>120 lelong >0 \b, %d key transformation rounds
23906 >0 byte 0x04 Blowfish (128 bit key, 16 rounds)
H A Dmagic478 #>>>>>&1 regex/1l .* \b, PBKDF2 rounds: %s
17654 >>120 lelong >0 \b, %d key transformation rounds
23906 >0 byte 0x04 Blowfish (128 bit key, 16 rounds)

Completed in 107 milliseconds