PageRenderTime 45ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/hphp/test/zend/good/ext/hash/tests/md5.php

http://github.com/facebook/hiphop-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
  1. <?hh <<__EntryPoint>> function main(): void {
  2. echo hash('md5', '') . "\n";
  3. echo hash('md5', 'a') . "\n";
  4. echo hash('md5', '012345678901234567890123456789012345678901234567890123456789') . "\n";
  5. echo hash('md5', str_repeat('a', 1000000)) . "\n";
  6. }