xref: /PHP-7.3/ext/hash/tests/sha512-224.phpt (revision 49a7be06)
1--TEST--
2sha512/224 algorithm
3--SKIPIF--
4<?php if(!extension_loaded("hash")) print "skip"; ?>
5--FILE--
6<?php
7echo hash('sha512/224', '') . "\n";
8echo hash('sha512/224', 'abc') . "\n";
9echo hash('sha512/224', 'abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n";
10--EXPECT--
116ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4
124634270f707b6a54daae7530460842e20e37ed265ceee9a43e8924aa
1323fec5bb94d60b23308192640b0c453335d664734fe40e7268674af9
14