Annotation of embedaddon/php/ext/hash/tests/gost.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: gost
3: --SKIPIF--
4: <?php extension_loaded('hash') or die('skip'); ?>
5: --FILE--
6: <?php
7: echo hash('gost', ''), "\n";
8: echo hash('gost', 'The quick brown fox jumps over the lazy dog'), "\n";
9: echo hash('gost', 'The quick brown fox jumps over the lazy cog'), "\n";
10: echo hash('gost', str_repeat('a', 31)), "\n";
11: echo hash('gost', str_repeat('a', 32)), "\n";
12: echo hash('gost', str_repeat('a', 33)), "\n";
13: ?>
14: --EXPECT--
15: ce85b99cc46752fffee35cab9a7b0278abb4c2d2055cff685af4912c49490f8d
16: 77b7fa410c9ac58a25f49bca7d0468c9296529315eaca76bd1a10f376d1f4294
17: a3ebc4daaab78b0be131dab5737a7f67e602670d543521319150d2e14eeec445
18: 03840d6348763f11e28e7b1ecc4da0cdf7f898fa555b928ef684c6c5b8f46d9f
19: fd1b746d9397e78edd311baef391450434271e02816caa37680d6d7381c79d4e
20: 715e59cdc8ebde9fdf0fe2a2e811b3bf7f48209a01505e467d2cd2aa2bbb5ecf
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>