Home
last modified time | relevance | path

Searched refs:md5 (Results 1 – 25 of 131) sorted by relevance

123456

/PHP-8.0/ext/standard/tests/strings/
H A Dmd5.phpt2 md5() with ASCII output
5 echo md5("")."\n";
6 echo md5("a")."\n";
7 echo md5("abc")."\n";
8 echo md5("message digest")."\n";
9 echo md5("abcdefghijklmnopqrstuvwxyz")."\n";
10 echo md5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")."\n";
11 echo md5("12345678901234567890123456789012345678901234567890123456789012345678901234567890")."\n";
H A Dmd5raw.phpt2 md5() with RAW output
5 echo bin2hex(md5("", TRUE))."\n";
6 echo bin2hex(md5("a", TRUE))."\n";
7 echo bin2hex(md5("abc", TRUE))."\n";
8 echo bin2hex(md5("message digest", TRUE))."\n";
9 echo bin2hex(md5("abcdefghijklmnopqrstuvwxyz", TRUE))."\n";
10 echo bin2hex(md5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", TRUE))."\n";
11 echo bin2hex(md5("12345678901234567890123456789012345678901234567890123456789012345678901234567890"…
H A Dmd5_basic2.phpt2 Test md5() function : basic functionality - with raw output
5 echo "*** Testing md5() : basic functionality - with raw output***\n";
7 $md5_raw = md5($str, true);
10 $md5 = md5($str, false);
12 if (strcmp(bin2hex($md5_raw), $md5) == 0 ) {
16 var_dump($md5_raw, $md5);
21 *** Testing md5() : basic functionality - with raw output***
H A Dmd5_basic1.phpt2 Test md5() function : basic functionality
5 echo "*** Testing md5() : basic functionality ***\n";
6 var_dump(md5("apple"));
9 *** Testing md5() : basic functionality ***
/PHP-8.0/ext/oci8/tests/
H A Ddefine3.phpt29 var_dump(md5($data)); // original md5
35 var_dump(md5($data));
47 echo "file md5:" . md5($f->load()) . "\n";
56 echo "file md5:" . md5($outdata) . "\n";
65 echo "file md5:" . md5($outdata) . "\n";
75 echo "file md5:" . md5($fid->load()) . "\n";
96 file md5:614fcbba1effb7caa27ef0ef25c27fcf
101 file md5:06d4f219d946c74d748d43932cd9dcb2
108 file md5:614fcbba1effb7caa27ef0ef25c27fcf
109 file md5:06d4f219d946c74d748d43932cd9dcb2
[all …]
H A Ddefine2.phpt24 var_dump(md5($fileimage));
38 echo "file md5:" . md5($fi) . "\n";
48 echo "file md5:" . md5($fi) . "\n";
58 echo "file md5:" . md5($fi) . "\n";
68 echo "file md5:" . md5($fi) . "\n";
86 file md5:88b274d7a257ac6f70435b83abd4e26e
90 file md5:88b274d7a257ac6f70435b83abd4e26e
94 file md5:80bb3201e2a8bdcb8ab3e1a44a82bb8a
/PHP-8.0/ext/hash/tests/
H A Dmd5.phpt2 Hash: md5 algorithm
5 echo hash('md5', '') . "\n";
6 echo hash('md5', 'a') . "\n";
7 echo hash('md5', '012345678901234567890123456789012345678901234567890123456789') . "\n";
8 echo hash('md5', str_repeat('a', 1000000)) . "\n";
H A Dhmac-md5.phpt2 Hash: hmac-md5 algorithm
6 $ctx = hash_init('md5',HASH_HMAC,str_repeat(chr(0x0b), 16));
10 $ctx = hash_init('md5',HASH_HMAC,'Jefe');
14 echo hash_hmac('md5', str_repeat(chr(0xDD), 50), str_repeat(chr(0xAA), 16)) . "\n";
H A Dhash_hmac_basic.phpt15 echo "md5: " . hash_hmac('md5', $content, $key) . "\n";
27 echo "md5(raw): " . bin2hex(hash_hmac('md5', $content, $key, TRUE)) . "\n";
37 md5: 2a632783e2812cf23de100d7d6a463ae
49 md5(raw): 2a632783e2812cf23de100d7d6a463ae
H A Dhash_file_basic1.phpt33 echo "md5: " . hash_file('md5', $file). "\n";
47 echo "md5(raw): " . bin2hex(hash_file('md5', $file, TRUE)). "\n";
61 md5: 704bf818448f5bbb94061332d2c889aa
74 md5(raw): 704bf818448f5bbb94061332d2c889aa
H A Dhash_hmac_file_basic.phpt35 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
48 echo "md5(raw): " . bin2hex(hash_hmac_file('md5', $file, $key, TRUE)). "\n";
60 md5: 8bddf39dd1c566c27acc7fa85ec36acf
72 md5(raw): 8bddf39dd1c566c27acc7fa85ec36acf
H A Dbug81714.phpt5 $h = hash_init('md5');
14 string(52) "HashContext for algorithm "md5" cannot be serialized"
/PHP-8.0/ext/standard/tests/file/
H A Dbug26938.phpt24 print "md5(line $i)= " . md5($out[$i]) . " (length " .
28 md5(line 0)= e86410fa2d6e2634fd8ac5f4b3afe7f3 (length 10)
29 md5(line 1)= e84debf3a1d132871d7fe45c1c04c566 (length 20000)
30 md5(line 2)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
31 md5(line 3)= 2ecdde3959051d913f61b14579ea136d (length 5)
32 md5(line 4)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
33 md5(line 5)= 902fbdd2b1df0c4f70b4a5d23525e932 (length 3)
H A D004.phpt17 if ($int === $old_int && $ret !== FALSE && md5($int) == md5_file("TEST2")) {
27 if ($int === $old_int && $ret !== FALSE && md5($int) == md5_file("TEST3")) {
36 if ($ret !== FALSE && md5(__FILE__) == md5_file("TEST4")) {
45 if ($ret !== FALSE && @md5(implode('', $_SERVER)) == md5_file("TEST5")) {
H A Dbug43137.phpt5 $toname = "TO_" . md5(microtime());
6 $dirname = "FROM_" . md5(microtime());
/PHP-8.0/ext/standard/tests/image/
H A Dgetimagesize_jpgapp.phpt16 echo "$key - length: ". strlen($value) ."; md5: " . md5($value) . "\n" ;
21 APP1 - length: 1717; md5: 02cbf4ba6640c131422483138c968516
22 APP2 - length: 7275; md5: f5036ccca2031e8bf932bcbd4aca4355
23 APP13 - length: 42; md5: 2202998bd05e78bcb419f08c070d6f61
/PHP-8.0/Zend/tests/
H A Dbug54358.phpt13 $asserter->call($function = 'md5');
37 string(3) "md5"
38 string(3) "md5"
39 string(3) "md5"
/PHP-8.0/ext/openssl/tests/
H A Dopenssl_x509_fingerprint_basic.phpt13 echo "** Testing hash method md5 **\n";
14 var_dump(openssl_x509_fingerprint($cert, 'md5'));
16 echo "**Testing raw output md5 **\n";
17 var_dump(bin2hex(openssl_x509_fingerprint($cert, 'md5', true)));
31 ** Testing hash method md5 **
33 **Testing raw output md5 **
/PHP-8.0/ext/pdo_sqlite/tests/
H A Dbug60104.phpt12 $handler->sqliteCreateFunction( "md5", "md5", 1 );
/PHP-8.0/ext/intl/tests/
H A Dbug71020.phpt10 …$myarray[substr(md5(microtime()),rand(0,26),9) . strval($x)]= substr(md5(microtime()),rand(0,26),9…
/PHP-8.0/ext/gd/tests/
H A Dimagebmp_basic.phpt16 // write the md5 hash of its BMP representation
19 echo md5(ob_get_clean());
/PHP-8.0/ext/zlib/tests/
H A Dgzcompress_variation1.phpt17 var_dump( md5($output));
18 var_dump(md5(gzcompress($output)));
H A Dgzdeflate_variation1.phpt19 var_dump( md5($output));
20 var_dump(md5(gzdeflate($output)));
/PHP-8.0/ext/spl/tests/
H A DDirectoryIterator_getBasename_basic_test.phpt7 $targetDir = __DIR__.DIRECTORY_SEPARATOR.md5('directoryIterator::getbasename1');
18 $targetDir = __DIR__.DIRECTORY_SEPARATOR.md5('directoryIterator::getbasename1');
/PHP-8.0/ext/simplexml/tests/
H A Dbug42369.phpt12 md5(strval($x->x));
17 md5($x->x);

Completed in 22 milliseconds

123456