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