optimizations; added sha1_string() and changed sha1() to expect an array of bytes;

This commit is contained in:
swaits committed 2010-11-30 16:34:11 -08:00
1 parent 9cda43b0fb
commit dab9151c67
2 files changed
+22 -12

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
{
sha1_profile();
if ( sha1_verify() )
document.getElementById('result').innerHTML = sha1("abcde");
document.getElementById('result').innerHTML = sha1_string("abcde");
else
document.getElementById('result').innerHTML = "Error!!!";
}