Lines Matching refs:sha1
2 sha1() with ASCII output.
7 echo "*** Testing sha1() : basic functionality ***\n";
10 var_dump(sha1(""));
11 var_dump(sha1("a"));
12 var_dump(sha1("abc"));
13 var_dump(sha1("message digest"));
14 var_dump(sha1("abcdefghijklmnopqrstuvwxyz"));
15 var_dump(sha1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"));
16 var_dump(sha1("12345678901234567890123456789012345678901234567890123456789012345678901234567890"));
19 var_dump(sha1("", false));
20 var_dump(sha1("a", false));
21 var_dump(sha1("abc", false));
22 var_dump(sha1("message digest", false));
23 var_dump(sha1("abcdefghijklmnopqrstuvwxyz", false));
24 var_dump(sha1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", false));
25 var_dump(sha1("12345678901234567890123456789012345678901234567890123456789012345678901234567890", f…
28 var_dump(bin2hex(sha1("", true)));
29 var_dump(bin2hex(sha1("a", true)));
30 var_dump(bin2hex(sha1("abc", true)));
31 var_dump(bin2hex(sha1("message digest", true)));
32 var_dump(bin2hex(sha1("abcdefghijklmnopqrstuvwxyz", true)));
33 var_dump(bin2hex(sha1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", true)));
34 var_dump(bin2hex(sha1("1234567890123456789012345678901234567890123456789012345678901234567890123456…
38 *** Testing sha1() : basic functionality ***