sha224_perf.html 1001 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html>
  3. <!--
  4. Copyright 2012 The Closure Library Authors. All Rights Reserved.
  5. Use of this source code is governed by the Apache License, Version 2.0.
  6. See the COPYING file for details.
  7. -->
  8. <head>
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  10. <title>Closure Performance Tests - goog.crypt.Sha224</title>
  11. <link rel="stylesheet" type="text/css" href="../testing/performancetable.css"/>
  12. <script src="../base.js"></script>
  13. <script>
  14. goog.require('goog.crypt.Sha224');
  15. goog.require('goog.crypt.hashTester');
  16. goog.require('goog.testing.PerformanceTable');
  17. goog.require('goog.testing.PseudoRandom');
  18. goog.require('goog.testing.jsunit');
  19. </script>
  20. </head>
  21. <body>
  22. <h1>Closure Performance Tests - goog.crypt.Sha224</h1>
  23. <p>
  24. <strong>User-agent:</strong>
  25. <script>document.write(navigator.userAgent);</script>
  26. </p>
  27. <script>
  28. function testHashing() {
  29. goog.crypt.hashTester.runPerfTests(function() {
  30. return new goog.crypt.Sha224();
  31. }, 'SHA224');
  32. }
  33. </script>
  34. </body>
  35. </html>