xref: /PHP-5.6/ext/hash/tests/tiger.phpt (revision 6a7bbb15)
1--TEST--
2tiger
3--SKIPIF--
4<?php extension_loaded('hash') or die('skip'); ?>
5--FILE--
6<?php
7echo hash('tiger192,3', ''),"\n";
8echo hash('tiger192,3', 'abc'),"\n";
9echo hash('tiger192,3', str_repeat('a', 63)),"\n";
10echo hash('tiger192,3', str_repeat('abc', 61)),"\n";
11echo hash('tiger192,3', str_repeat('abc', 64)),"\n";
12?>
13--EXPECT--
143293ac630c13f0245f92bbb1766e16167a4e58492dde73f3
152aab1484e8c158f2bfb8c5ff41b57a525129131c957b5f93
169366604ea109e48ed763caabb2d5633b4946eb295ef5781a
17b19abf166d158625808f035edf8be4e6b0bcb31d070ec353
18badd965340a9e83e4a16f48a5038c01b856a9158ef59fec1
19
20