/hphp/test/zend/good/ext/hash/tests/md5.php
PHP | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 686aeeba8671be39325839c9fd417960 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh <<__EntryPoint>> function main(): void {
- echo hash('md5', '') . "\n";
- echo hash('md5', 'a') . "\n";
- echo hash('md5', '012345678901234567890123456789012345678901234567890123456789') . "\n";
- echo hash('md5', str_repeat('a', 1000000)) . "\n";
- }