sha1.html now displays sha1.js test result
This commit is contained in:
1 parent
35b5742775
commit
00576f479f
2 files changed
+9
-8
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user