1--TEST-- 2Hash: gost algorithm 3--FILE-- 4<?php 5echo hash('gost', ''), "\n"; 6echo hash('gost', 'The quick brown fox jumps over the lazy dog'), "\n"; 7echo hash('gost', 'The quick brown fox jumps over the lazy cog'), "\n"; 8echo hash('gost', str_repeat('a', 31)), "\n"; 9echo hash('gost', str_repeat('a', 32)), "\n"; 10echo hash('gost', str_repeat('a', 33)), "\n"; 11 12echo hash('gost-crypto', ''), "\n"; 13echo hash('gost-crypto', 'The quick brown fox jumps over the lazy dog'), "\n"; 14echo hash('gost-crypto', 'The quick brown fox jumps over the lazy cog'), "\n"; 15echo hash('gost-crypto', str_repeat('a', 31)), "\n"; 16echo hash('gost-crypto', str_repeat('a', 32)), "\n"; 17echo hash('gost-crypto', str_repeat('a', 33)), "\n"; 18?> 19--EXPECT-- 20ce85b99cc46752fffee35cab9a7b0278abb4c2d2055cff685af4912c49490f8d 2177b7fa410c9ac58a25f49bca7d0468c9296529315eaca76bd1a10f376d1f4294 22a3ebc4daaab78b0be131dab5737a7f67e602670d543521319150d2e14eeec445 2303840d6348763f11e28e7b1ecc4da0cdf7f898fa555b928ef684c6c5b8f46d9f 24fd1b746d9397e78edd311baef391450434271e02816caa37680d6d7381c79d4e 25715e59cdc8ebde9fdf0fe2a2e811b3bf7f48209a01505e467d2cd2aa2bbb5ecf 26981e5f3ca30c841487830f84fb433e13ac1101569b9c13584ac483234cd656c0 279004294a361a508c586fe53d1f1b02746765e71b765472786e4770d565830a76 28a93124f5bf2c6d83c3bbf722bc55569310245ca5957541f4dbd7dfaf8137e6f2 298978e06b0ecf54ea81ec51ca4e02bcb4eb390b3f04cb5f65ee8de195ffae591b 30e121e3740ae94ca6d289e6d653ff31695783efff3dd960417a1098a0130fa720 31d3e8f22d9762a148ddfc84a6043d97a608604dae7c05baee72b55f559d03dd74 32