Lines Matching refs:n
6 echo "*** Testing hash_file() : basic functionality ***\n";
27 echo "adler32: " . hash_file('adler32', $file) . "\n";
28 echo "crc32: " . hash_file('crc32', $file) . "\n";
29 echo "gost: " . hash_file('gost', $file). "\n";
30 echo "haval128,3: " . hash_file('haval128,3', $file). "\n";
31 echo "md2: " . hash_file('md2', $file). "\n";
32 echo "md4: " . hash_file('md4', $file). "\n";
33 echo "md5: " . hash_file('md5', $file). "\n";
34 echo "ripemd128: " . hash_file('ripemd128', $file). "\n";
35 echo "ripemd160: " . hash_file('ripemd160', $file). "\n";
36 echo "ripemd256: " . hash_file('ripemd256', $file). "\n";
37 echo "ripemd320: " . hash_file('ripemd320', $file). "\n";
38 echo "sha1: " . hash_file('sha1', $file). "\n";
39 echo "sha256: " . hash_file('sha256', $file). "\n";
40 echo "sha384: " . hash_file('sha384', $file). "\n";
41 echo "sha512: " . hash_file('sha512', $file). "\n";
42 echo "snefru: " . hash_file('snefru', $file). "\n";
43 echo "tiger192,3: " . hash_file('tiger192,3', $file). "\n";
44 echo "whirlpool: " . hash_file('whirlpool', $file). "\n";
45 echo "murmur3a: " . hash_file('murmur3a', $file). "\n";
46 echo "murmur3a: " . hash_file('murmur3a', $file, false, ['seed' => 1234]). "\n";
47 echo "murmur3c: " . hash_file('murmur3c', $file). "\n";
48 echo "murmur3c: " . hash_file('murmur3c', $file, false, ['seed' => 1234]). "\n";
49 echo "murmur3f: " . hash_file('murmur3f', $file). "\n";
50 echo "murmur3f: " . hash_file('murmur3f', $file, false, ['seed' => 1234]). "\n";
52 echo "adler32(raw): " . bin2hex(hash_file('adler32', $file, TRUE)) . "\n";
53 echo "md5(raw): " . bin2hex(hash_file('md5', $file, TRUE)). "\n";
54 echo "sha256(raw): " . bin2hex(hash_file('sha256', $file, TRUE)). "\n";