source: src/router/php7/ext/hash/tests/sha512-224.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 3 months ago

update php

File size: 514 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.