SHA1 test vectors
Werner Koch
wk at isil.d.shuttle.de
Wed Dec 10 11:34:46 CET 1997
Hi,
I have implemented SHA-1 but do not have any test vector, can someone
be so kind an send me some examples:
For example:
""
"a"
"abc"
"message digest"
"a...z"
"abcdbcde...nopq"
"A...Za...z0...9"
8 times "1234567890"
1 million times "a"
if you have a program to calculate SHA-1 you can do it like this:
echo -n "e.g. one of the above test strings" | sha1 >>out
(please do not forget the "-n")
Any other examples are also good.
tia,
Werner
--
Werner Koch, Duesseldorf - werner.koch at guug.de - PGP keyID: 0C9857A5
More information about the Gnupg-devel
mailing list