Debian Codegraph @

closure-library/closure/goog/crypt/sha256_perf.html

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