Home
last modified time | relevance | path

Searched refs:sha1 (Results 1 – 25 of 49) sorted by last modified time

12

/php-src/ext/standard/
H A Dbasic_functions.stub.php2223 function sha1(string $string, bool $binary = false): string {}
H A Dbasic_functions_arginfo.h2513 ZEND_FUNCTION(sha1);
3146 ZEND_FE(sha1, arginfo_sha1)
H A Dconfig.m4447 var_unserializer.c ftok.c sha1.c user_filters.c uuencode.c \
H A Dsha1.c30 PHP_FUNCTION(sha1) in PHP_FUNCTION() argument
/php-src/build/
H A Dgen_stub.php159 return sha1(str_replace("\r\n", "\n", $stubCode));
/php-src/ext/phar/phar/
H A Dpharcommand.inc95 …'select' => ['md5' => 'MD5','sha1' => 'SHA1', 'sha256' => 'SHA256', 'sha512' => 'SHA512', 'openssl…
423 case 'sha1':
/php-src/ext/spl/tests/
H A Dbug65328.phpt122 $this->uid = $uid ? : uniqid(sha1(serialize($data)), true);
/php-src/ext/phar/
H A DMakefile.frag49 …ddir)/phar.phar -a pharcommand -c auto -p 0 -s $(srcdir)/phar/phar.php -h sha1 -b "$(PHP_PHARCMD_B…
/php-src/ext/session/tests/user_session_module/
H A Dgh7787.phpt36 return sha1(random_bytes(32));
67 fn() => sha1(random_bytes(32)),
H A Dgh9584.phpt35 return sha1(random_bytes(32));
H A Dbug71162.phpt39 return sha1(random_bytes(32));
56 session_id(sha1(''));
61 session_id(sha1(''));
66 session_id(sha1(''));
/php-src/ext/random/tests/
H A Dengines.inc22 $this->state = sha1($this->state, true);
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます24259 # hash specification like: sha256 sha1 ripemd160
24314 # csum_alg[32]; checksum algorithm like: sha256 sha1 sha512 wirlpool ripemd160
H A Dmagic24259 # hash specification like: sha256 sha1 ripemd160
24314 # csum_alg[32]; checksum algorithm like: sha256 sha1 sha512 wirlpool ripemd160
/php-src/ext/random/tests/03_randomizer/methods/
H A DpickArrayKeys.phpt29 $string = sha1((string)$i);
/php-src/ext/hash/tests/
H A Dgh12186_2.phpt6 $c = hash_init('sha1');
H A Dgh12186_1.phpt6 $c = hash_init('sha1');
H A Dhash_file_basic1.phpt38 echo "sha1: " . hash_file('sha1', $file). "\n";
72 sha1: 8529b266611e3bd0d208fd9614653c2a8f23d0fe
/php-src/ext/mysqlnd/
H A Dmysqlnd_auth.c532 zend_uchar sha1[SHA1_MAX_LENGTH]; in php_mysqlnd_scramble() local
538 PHP_SHA1Final(sha1, &context); in php_mysqlnd_scramble()
542 PHP_SHA1Update(&context, (zend_uchar*)sha1, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
552 php_mysqlnd_crypt(buffer, (const zend_uchar *)buffer, (const zend_uchar *)sha1, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
982 zend_uchar sha1[SHA256_LENGTH]; in php_mysqlnd_scramble_sha2() local
988 PHP_SHA256Final(sha1, &context); in php_mysqlnd_scramble_sha2()
992 PHP_SHA256Update(&context, (zend_uchar*)sha1, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()
1002 php_mysqlnd_crypt(buffer, (const zend_uchar *)sha1, (const zend_uchar *)buffer, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()
/php-src/ext/soap/tests/
H A Dbug73037.phpt45 sha1(uniqid()),
/php-src/ext/standard/tests/url/
H A Dparse_url_basic_011.phpt12 echo 'parse magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C', PHP_EOL;
13 var_dump(parse_url('magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C'));
42 parse magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C
47 string(44) "xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C"
/php-src/ext/standard/tests/strings/
H A Dsha1.phpt2 sha1() with ASCII output
6 $filename = __DIR__."/sha1.dat";
16 var_dump($val1 = sha1($str));
22 var_dump(sha1($str, true));
H A Dsha1_basic.phpt2 sha1() with ASCII output.
10 var_dump(sha1(""));
11 var_dump(sha1("a"));
12 var_dump(sha1("abc"));
13 var_dump(sha1("message digest"));
19 var_dump(sha1("", false));
20 var_dump(sha1("a", false));
21 var_dump(sha1("abc", false));
28 var_dump(bin2hex(sha1("", true)));
29 var_dump(bin2hex(sha1("a", true)));
[all …]
H A Dsha1raw.phpt2 sha1() with RAW output
5 echo bin2hex(sha1("abc", TRUE))."\n";
6 echo bin2hex(sha1("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", TRUE))."\n";
7 echo bin2hex(sha1("a", TRUE))."\n";
8 echo bin2hex(sha1("0123456701234567012345670123456701234567012345670123456701234567", TRUE))."\n";
/php-src/ext/standard/tests/general_functions/
H A D009.phpt6 $res = sha1($str)."\n";

Completed in 247 milliseconds

12