xref: /php-src/ext/hash/tests/tiger.phpt (revision d679f022)
1--TEST--
2Hash: tiger algorithm
3--FILE--
4<?php
5echo hash('tiger192,3', ''),"\n";
6echo hash('tiger192,3', 'abc'),"\n";
7echo hash('tiger192,3', str_repeat('a', 63)),"\n";
8echo hash('tiger192,3', str_repeat('abc', 61)),"\n";
9echo hash('tiger192,3', str_repeat('abc', 64)),"\n";
10?>
11--EXPECT--
123293ac630c13f0245f92bbb1766e16167a4e58492dde73f3
132aab1484e8c158f2bfb8c5ff41b57a525129131c957b5f93
149366604ea109e48ed763caabb2d5633b4946eb295ef5781a
15b19abf166d158625808f035edf8be4e6b0bcb31d070ec353
16badd965340a9e83e4a16f48a5038c01b856a9158ef59fec1
17