xref: /PHP-8.2/ext/hash/tests/sha512-224.phpt (revision 7aacc705)
1--TEST--
2Hash: sha512/224 algorithm
3--FILE--
4<?php
5echo hash('sha512/224', '') . "\n";
6echo hash('sha512/224', 'abc') . "\n";
7echo hash('sha512/224', 'abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n";
8?>
9--EXPECT--
106ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4
114634270f707b6a54daae7530460842e20e37ed265ceee9a43e8924aa
1223fec5bb94d60b23308192640b0c453335d664734fe40e7268674af9
13