sha1.html now displays sha1.js test result

This commit is contained in:
swaits committed 2010-11-30 09:14:15 -08:00
1 parent 35b5742775
commit 00576f479f
2 files changed
+9 -8

No files matched your search

+9 -4
View File
@@ -4,11 +4,16 @@
<title>Sha1</title>
<script src='sha1.js'></script>
<script type="text/javascript" charset="utf-8">
function run()
{
document.getElementById('result').innerHTML = sha1("The quick brown fox jumps over the lazy dog");
}
</script>
</head>
<body>
blah
<body onload="run()">
<div id="result">Calculating...</div>
</body>
</html>