From 00576f479ff628db7db5c547b9d0cb8ba3cc1337 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Tue, 30 Nov 2010 09:14:15 -0800 Subject: [PATCH] sha1.html now displays sha1.js test result --- sha1.html | 13 +++++++++---- sha1.js | 4 ---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/sha1.html b/sha1.html index b970d9b..67dd666 100644 --- a/sha1.html +++ b/sha1.html @@ -4,11 +4,16 @@ Sha1 + + - - - blah - + +
Calculating...
diff --git a/sha1.js b/sha1.js index 7af694d..a8fa004 100644 --- a/sha1.js +++ b/sha1.js @@ -79,7 +79,3 @@ function sha1(text) return message; } - -str_to_bytes("A\u1242B\u4123C"); // [65, 18, 66, 66, 65, 35, 67] - -sha1("The quick brown fox jumps over the lazy dog"); // 2fd4e1c6 7a2d28fc ed849ee1 bb76e739 1b93eb12