cleaned up JSLint stuff; wrapped in SHA1 namespace

This commit is contained in:
swaits committed 2010-12-01 09:45:18 -08:00
1 parent 279e0e7391
commit af799f2833
2 files changed
+235 -209

No files matched your search

+2 -3
View File
@@ -8,9 +8,8 @@
<script type="text/javascript" charset="utf-8">
function run()
{
sha1_profile();
if ( sha1_verify() && hmac_verify() )
document.getElementById('result').innerHTML = sha1_string("abcde");
if ( SHA1.test() )
document.getElementById('result').innerHTML = SHA1.hash("abcde");
else
document.getElementById('result').innerHTML = "Error!!!";
}