sha512_perf.html 993 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html>
  3. <!--
  4. Copyright 2014 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. Author: fy@google.com (Frank Yellin)
  8. -->
  9. <head>
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11. <title>Closure Performance Tests - goog.crypt.Sha512</title>
  12. <link rel="stylesheet" type="text/css" href="../testing/performancetable.css"/>
  13. <script src="../base.js"></script>
  14. <script>
  15. goog.require('goog.crypt.Sha512');
  16. goog.require('goog.crypt.hashTester');
  17. goog.require('goog.testing.jsunit');
  18. </script>
  19. </head>
  20. <body>
  21. <h1>Closure Performance Tests - goog.crypt.Sha512</h1>
  22. <p>
  23. <strong>User-agent:</strong>
  24. <script>document.write(navigator.userAgent);</script>
  25. </p>
  26. <script>
  27. function testHashing() {
  28. goog.crypt.hashTester.runPerfTests(
  29. function() {
  30. return new goog.crypt.Sha512();
  31. } /* hashFactory */,
  32. 'SHA512' /* hashName */);
  33. }
  34. </script>
  35. </body>
  36. </html>