sha1.c v0.32b written by S.T.L.
sha1.exe v0.32b compiled by S.T.L. using DJGPP (www.delorie.com)
and packed with UPX --best. (http://wildsau.idv.uni-linz.ac.at/mfx/upx.html)
Copyright (C) 2000 S.T.L.
Both sha1.c and sha1.exe are distributed under the terms of
the GNU General Public License (GNU GPL). See copying.txt for details.

DISCLAIMER:
This program and its source code are provided "as is" and are
guaranteed only to take up space on your hard drive. Any other
possible uses of this program and its source code are done completely
AT YOUR RISK.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Visit S.T.L.'s web site at http://quote.cjb.net

Thanks go to:
A.Y.L. for helping me with some C stuff,
U.A. for loaning me his K&R2 which got all this started,
Ed Suominen (http://eepatents.com) for suggestions for
SHA1.EXE and his correspondence,
Robert G. Durnal (http://www.afn.org/~afn21533/) for
programming SHA1.COM which let me verify that SHA1.EXE was
working,
the readers of sci.crypt for helping to improve SHA1.EXE,
the makers of UPX for making such a nifty program, and
the makers of DJGPP for making equally nifty programs.

Contents of the original ZIP file:
bugs.txt     - Information on known bugs
copying.txt  - The GNU GPL
file_a.txt   - Test file from Appendix A of the SHA-1 specification
file_b.txt   - Test file from Appendix B of the SHA-1 specification
file_c.txt   - Test file from Appendix C of the SHA-1 specification
file_d.txt   - A tricky file that v0.27 and earlier stumbled on
port.txt     - Information on compiling SHA1.C for different systems
readme.txt   - This file
sha1.c       - C source code, heavily commented
sha1.exe     - Optimized, packed executable
switches.txt - Switches to use with DJGPP for compilation
todo.txt     - Things to do (possibly) in the future

The SHA-1 specification, available at
http://www.itl.nist.gov/fipspubs/fip180-1.htm
declares that the hashes of the files in Appendices A, B, and C are:
Appendix A: A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D
Appendix B: 84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1
Appendix C: 34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F

Please contact S.T.L. (address available on his web site) if you
find that sha1.exe crashes for you, outputs the wrong hash, or if
you have a suggestion/comment/improvement for the program!

Thanks!

- S.T.L.
