projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
890e34f
)
Add extra test vector from FIPS 180-1.
author
mdw
<mdw>
Fri, 19 Nov 1999 13:18:56 +0000
(13:18 +0000)
committer
mdw
<mdw>
Fri, 19 Nov 1999 13:18:56 +0000
(13:18 +0000)
tests/sha
patch
|
blob
|
blame
|
history
diff --git
a/tests/sha
b/tests/sha
index
15c94e0
..
44d9e8e
100644
(file)
--- a/
tests/sha
+++ b/
tests/sha
@@
-1,10
+1,12
@@
# Test vectors for the SHA-1 hash function
#
# Test vectors for the SHA-1 hash function
#
-# $Id: sha,v 1.
1 1999/09/03 08:41:14
mdw Exp $
+# $Id: sha,v 1.
2 1999/11/19 13:18:56
mdw Exp $
# --- Basic hash function ---
#
# --- Basic hash function ---
#
-# These were generated using the SSLeay implementation of SHA-1.
+# Some of these are taken directly from the Secure Hash Standard
+# (FIPS 180-1). Others were generated using the SSLeay implementation of
+# SHA-1.
sha {
sha {
@@
-14,6
+16,8
@@
sha {
"message digest" c12252ceda8be8994d5fa0290a47231c1d16aae3;
"abcdefghijklmnopqrstuvwxyz"
32d10c7b8cf96570ca04ce37f2a19d84240d3a89;
"message digest" c12252ceda8be8994d5fa0290a47231c1d16aae3;
"abcdefghijklmnopqrstuvwxyz"
32d10c7b8cf96570ca04ce37f2a19d84240d3a89;
+ "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
+ 84983e441c3bd26ebaae4aa1f95129e5e54670f1;
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
761c457bf73b14d27e9e9265c46f4b4dda11f940;
"12345678901234567890123456789012345678901234567890123456789012345678901234567890"
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
761c457bf73b14d27e9e9265c46f4b4dda11f940;
"12345678901234567890123456789012345678901234567890123456789012345678901234567890"