SHA1 v1.0
Print the sha1 hash of text or file

sha1 -t text
sha1 -f file

If next errors happen, it print null
and return the next codes:
1 = Error encoding text to utf-8
1 = Error the file cannot be read
2 = Error while reading the file

Programmed by Carlos Montiers, taking code from NetBSD

Download Executable

sha1.exe info:

Size:          11264 bytes
SHA1 checksum: a3e4ad0045eb9d36a61b520526128c279f53ca44

Download Source

See the source code online