From 04d4ec7e0c0c14c64cdcc3fb279bb9e41da13fa8 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Wed, 1 Dec 2010 14:48:36 -0800 Subject: [PATCH] minor typo fix in sha1.js; passy-tiny.html added --- passy-tiny.html | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ sha1.js | 2 +- 2 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 passy-tiny.html diff --git a/passy-tiny.html b/passy-tiny.html new file mode 100644 index 0000000..194e855 --- /dev/null +++ b/passy-tiny.html @@ -0,0 +1,67 @@ + + + + + + + + + + + +
+ Site Name:
+
+ Secret Passphrase:
+
+
+ Site Password:
+ +
+ Site Password (old version):
+ +
+ + + diff --git a/sha1.js b/sha1.js index 410dbb4..45ab0f4 100644 --- a/sha1.js +++ b/sha1.js @@ -276,7 +276,7 @@ var SHA1 = (function() // SHA1 "namespace" [ byte_string(0xaa,20),byte_string(0xdd,50), '125d7342b9ac11cd91a39af48aa17b4f63f175d3' ], [ byte_string(0xc,20),'Test With Truncation','4c1a03424b55e07fe7f27be1d58bb9324a9a5a04' ], [ byte_string(0xaa,80),'Test Using Larger Than Block-Size Key - Hash Key First','aa4ae5e15272d00e95705637ce8a3b55ed402112' ], - [ byte_string(0xaa,80),'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data','e8e99d0f45237d786d6bbaa7965c7808bbff1a91' ], + [ byte_string(0xaa,80),'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data','e8e99d0f45237d786d6bbaa7965c7808bbff1a91' ] ]; for (var i = 0; i < tests.length; i++) {