/PHP-5.5/ext/standard/tests/strings/ |
H A D | crypt.phpt | 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"; 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 [all …]
|
H A D | crypt_chars.phpt | 2 crypt() function - characters > 0x80 5 if (!function_exists('crypt')) { 6 die("SKIP crypt() is not available"); 11 var_dump(crypt("À1234abcd", "99")); 12 var_dump(crypt("À9234abcd", "99")); 13 var_dump(crypt("À1234abcd", "_01234567")); 14 var_dump(crypt("À9234abcd", "_01234567"));
|
H A D | crypt_variation1.phpt | 2 crypt() function - long salt 5 if (!function_exists('crypt')) { 6 die("SKIP crypt() is not available"); 13 echo crypt("A", "$5$" . $b)."\n"; 15 echo crypt("A", "$5$" . $b)."\n"; 17 echo crypt("A", "$5$" . $b)."\n";
|
H A D | crypt_blowfish_variation1.phpt | 2 Test Blowfish crypt() with invalid rounds 5 if (!function_exists('crypt') || !defined("CRYPT_BLOWFISH")) { 6 die("SKIP crypt()-blowfish is not available"); 21 $crypt = crypt(b'U*U', $salt); 22 if ($crypt === b'*0' || $crypt === b'*1') {
|
H A D | bug54721.phpt | 5 echo crypt("", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 6 echo crypt("b", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 7 echo crypt("bu", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 8 echo crypt("bug", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 9 echo crypt("pass", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 10 echo crypt("buged", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 11 echo crypt("aaaaaaaaaaaaaaaaaaaaaaaaa ", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n";
|
H A D | crypt_des_error.phpt | 2 crypt(): *0 should return *1 5 if (!function_exists('crypt')) { 6 die("SKIP crypt() is not available"); 12 var_dump(crypt('foo', '*0'));
|
H A D | crypt_blowfish_variation2.phpt | 2 Test Blowfish crypt() falls back to DES when rounds are not specified, 6 $crypt = crypt(b'U*U', b'$2a$CCCCCCCCCCCCCCCCCCCCC.E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW'); 7 if ($crypt===b'$2SHYF.wPGyfE') {
|
H A D | bug62443.phpt | 5 crypt("foo", '$5$'.chr(0).'abc'); 6 crypt("foo", '$6$'.chr(0).'abc');
|
H A D | bug51059.phpt | 2 Bug #51059 crypt() segfaults on certain salts 5 $res = crypt(b'a', b'_');
|
H A D | crypt_sha256.phpt | 2 crypt() SHA-256 5 if (!function_exists('crypt') || !defined("CRYPT_SHA256")) { 6 die("SKIP crypt()-sha256 is not available"); 56 $res = crypt($t[1], $t[0]);
|
H A D | crypt_sha512.phpt | 2 crypt() SHA-512 5 if (!function_exists('crypt') || !defined("CRYPT_SHA512")) { 6 die("SKIP crypt()-sha512 is not available"); 56 $res = crypt($t[1], $t[0]);
|
H A D | bug50052.phpt | 8 echo crypt($password,$salt) . "\n";
|
H A D | crypt_blowfish.phpt | 5 if (!function_exists('crypt') || !defined("CRYPT_BLOWFISH")) { 6 die("SKIP crypt()-blowfish is not available"); 55 $result = crypt($test[1], $test[0]); 65 $result = crypt('', $test[0]);
|
/PHP-5.5/ext/standard/ |
H A D | php_crypt.h | 27 PHP_FUNCTION(crypt); 29 PHP_MINIT_FUNCTION(crypt); 30 PHP_MSHUTDOWN_FUNCTION(crypt); 31 PHP_RINIT_FUNCTION(crypt);
|
H A D | config.m4 | 53 dnl Check for crypt() capabilities 56 AC_CHECK_LIB(crypt, crypt, [ 69 #include <crypt.h> 93 #include <crypt.h> 110 AC_CACHE_CHECK(for MD5 crypt, ac_cv_crypt_md5,[ 117 #include <crypt.h> 150 #include <crypt.h> 173 AC_CACHE_CHECK(for SHA512 crypt, ac_cv_crypt_sha512,[ 180 #include <crypt.h> 202 AC_CACHE_CHECK(for SHA256 crypt, ac_cv_crypt_sha256,[ [all …]
|
H A D | crypt.c | 103 PHP_MINIT_FUNCTION(crypt) /* {{{ */ in PHP_MINIT_FUNCTION() argument 127 PHP_MSHUTDOWN_FUNCTION(crypt) /* {{{ */ in PHP_MSHUTDOWN_FUNCTION() argument 257 PHP_FUNCTION(crypt) in PHP_FUNCTION() argument
|
H A D | config.w32 | 12 crc32.c crypt.c crypt_freesec.c crypt_blowfish.c crypt_sha256.c \
|
/PHP-5.5/ext/mcrypt/tests/ |
H A D | blowfish.phpt | 14 print "key plain crypt guess stat\n"; 23 list($key,$plain,$crypt) = preg_split("/[[:space:]]+/",$data); 30 $crypt = strtolower(trim($crypt)); 36 $crypt, 38 ($crypt==$guess ? "OK" : "BAD") 56 key plain crypt guess stat
|
H A D | mcrypt_rijndael128_256BitKey.phpt | 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 17 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 22 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv 27 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
|
H A D | mcrypt_rijndael128_128BitKey.phpt | 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 17 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 22 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv
|
H A D | mcrypt_ecb_error.phpt | 14 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
|
H A D | mcrypt_encrypt_error.phpt | 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
|
H A D | mcrypt_decrypt_error.phpt | 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
|
/PHP-5.5/ext/zip/ |
H A D | TODO | 3 - crypt support for zip (read and write)
|
/PHP-5.5/ext/standard/tests/password/ |
H A D | password_hash.phpt | 11 var_dump($hash === crypt("foo", $hash));
|