File hashing utility for AmigaOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Carsten Larsen 19f758cedb Fixed missing includeds 3 years ago
.gitignore Version 1.0.5 changes 3 years ago
COPYRIGHT Version 1.0.5 changes 3 years ago
ChangeLog Version 1.0.5 changes 3 years ago
Makefile Version 1.0.5 changes 3 years ago
README Removed deprecated sections 4 years ago
README.SHA Update README.SHA 3 years ago
README.md Update README.md 3 years ago
builddist Version 1.0.5 changes 3 years ago
compiler.h Version 1.0.5 changes 3 years ago
configure Version 1.0.5 changes 3 years ago
platform.h Fixed missing includeds 3 years ago
sha.c Version 1.0.5 changes 3 years ago
sha.guide Version 1.0.5 changes 3 years ago
sha1.c Version 1.0.5 changes 3 years ago
sha1.h Version 1.0.5 changes 3 years ago
sha1_amiga.c Version 1.0.5 changes 3 years ago
sha256.c Version 1.0.5 changes 3 years ago
sha256.h Version 1.0.5 changes 3 years ago
sha256_amiga.c Version 1.0.5 changes 3 years ago
sha384.c Version 1.0.5 changes 3 years ago
sha384.h Version 1.0.5 changes 3 years ago
sha384_amiga.c Version 1.0.5 changes 3 years ago
sha512.c Version 1.0.5 changes 3 years ago
sha512.h Version 1.0.5 changes 3 years ago
sha512_amiga.c Version 1.0.5 changes 3 years ago
sha_amiga.c Version 1.0.5 changes 3 years ago
sha_io.c Version 1.0.5 changes 3 years ago
shatest.c Version 1.0.5 changes 3 years ago

README.md

Introduction

sha is a simple program that hashes files. It uses the National Institute of Standards and Technology’s Secure Hash Algorithm. It can use SHA-1, SHA-256, SHA-384, or SHA-512, which generate respectively, hashes of 160, 256, 384, or 512 bits. sha can be used in scripts to do, for example, file integrity checking.

Using sha is simple. Just pass the names of one or more files on the command line.

You may want to perform a sanity check on sha before relying on it. A program called “shatest” is built along with sha. If you run shatest, it will display the results of running the various SHA algorithms on a set of known test vectors. If the resultant hash matches what is expected, “PASS” will be displayed. Otherwise it will display “FAIL.”