| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<!-- |
| 4 |
Copyright 2011 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.Md5</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.Md5'); |
| 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.Md5</h1> |
| 25 |
<p> |
| 26 |
<strong>User-agent:</strong> |
| 27 |
<script>document.write(navigator.userAgent);</script> |
| 28 |
</p> |
| 29 |
<script> |
| 30 |
|
| 31 |
function testHashing() { |
| 32 |
goog.crypt.hashTester.runPerfTests(function() { |
| 33 |
return new goog.crypt.Md5(); |
| 34 |
}, 'MD5'); |
| 35 |
} |
| 36 |
|
| 37 |
</script> |
| 38 |
</body> |
| 39 |
</html> |