Home
last modified time | relevance | path

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

123456

/PHP-8.2/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.2/ext/oci8/tests/
H A Ddefine3.phpt31 var_dump(md5($data)); // original md5
37 var_dump(md5($data));
49 echo "file md5:" . md5($f->load()) . "\n";
58 echo "file md5:" . md5($outdata) . "\n";
67 echo "file md5:" . md5($outdata) . "\n";
77 echo "file md5:" . md5($fid->load()) . "\n";
98 file md5:614fcbba1effb7caa27ef0ef25c27fcf
103 file md5:06d4f219d946c74d748d43932cd9dcb2
110 file md5:614fcbba1effb7caa27ef0ef25c27fcf
111 file md5:06d4f219d946c74d748d43932cd9dcb2
[all …]
H A Ddefine2.phpt26 var_dump(md5($fileimage));
40 echo "file md5:" . md5($fi) . "\n";
50 echo "file md5:" . md5($fi) . "\n";
60 echo "file md5:" . md5($fi) . "\n";
70 echo "file md5:" . md5($fi) . "\n";
88 file md5:88b274d7a257ac6f70435b83abd4e26e
92 file md5:88b274d7a257ac6f70435b83abd4e26e
96 file md5:80bb3201e2a8bdcb8ab3e1a44a82bb8a
/PHP-8.2/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.2/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_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"
H A Dhash_file_basic1.phpt33 echo "md5: " . hash_file('md5', $file). "\n";
53 echo "md5(raw): " . bin2hex(hash_file('md5', $file, TRUE)). "\n";
67 md5: 704bf818448f5bbb94061332d2c889aa
86 md5(raw): 704bf818448f5bbb94061332d2c889aa
/PHP-8.2/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
H A Diptcembed_002.phpt10 echo md5(file_get_contents($file)).PHP_EOL;
43 #check file md5
44 $md5=md5_file($file);
45 if ($md5!="07dd8594450e8c18ab8a79d7cb4573c7") { echo "md5 error".PHP_EOL;exit(1); }
63 #check iptc string md5
64 if (md5(base64_encode($iptc))!="7056c4b3060f92a4f9e5b7d0caa61859") { echo "iptc md5 error".PHP_EOL;…
/PHP-8.2/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.2/Zend/tests/
H A Dbug54358.phpt13 $asserter->call($function = 'md5');
37 string(3) "md5"
38 string(3) "md5"
39 string(3) "md5"
/PHP-8.2/ext/pdo_sqlite/tests/
H A Dbug60104.phpt10 $handler->sqliteCreateFunction( "md5", "md5", 1 );
/PHP-8.2/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.2/ext/gd/tests/
H A Dimagebmp_basic.phpt17 // write the md5 hash of its BMP representation
20 echo md5(ob_get_clean());
/PHP-8.2/ext/simplexml/tests/
H A Dbug42369.phpt12 md5(strval($x->x));
17 md5($x->x);
/PHP-8.2/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.2/ext/mysqli/tests/
H A Dbug74021.phpt21 var_dump(md5($r['a']));
22 var_dump(md5($r['b']));

Completed in 54 milliseconds

123456