added hmac and friends (not yet functional); sha1() returns array of bytes now

This commit is contained in:
swaits committed 2010-11-30 18:39:34 -08:00
1 parent 65a13321ef
commit 279e0e7391
2 files changed
+57 -20

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
function run()
{
sha1_profile();
if ( sha1_verify() )
if ( sha1_verify() && hmac_verify() )
document.getElementById('result').innerHTML = sha1_string("abcde");
else
document.getElementById('result').innerHTML = "Error!!!";