Test case looks good, but this needs a full command line utility implementation: hash should let me pass in various files and get their sha1sums.
Currently we can only read a 1024 byte file, and that's pretty small. Instead, you should take a look at the sha1sum() function to figure out how to update the checksum in a loop, that way you could read 1024 (maybe 512 would be fine to make sure it fits on the small stack) byte chunks of the file, call Sha1Input() on them, and then repeat until hitting the end of the file.
No need to print the file contents. This is most often used on binary files anyway
Addresses #24 by hashing input txt files on a test program called hash.c