Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

SHA1 test vectors

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


wk at isil

Dec 10, 1997, 3:34 AM

Post #1 of 1 (342 views)
Permalink
SHA1 test vectors

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 - PGP keyID: 0C9857A5

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.