|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
# SHA1 in C
|
|
|
|
|
|
|
|
|
|
SHA1 algorithm in C. A single function that reads a file and outputs it's sha1sum.
|
|
|
|
|
SHA1 algorithm in C. A single function that reads a file and outputs it's sha1sum. This is a little endian implementation.
|
|
|
|
|
|
|
|
|
|
## How to use
|
|
|
|
|
|
|
|
|
@ -20,4 +20,4 @@ The "library" is only adding:
|
|
|
|
|
|
|
|
|
|
1. SHA1_Result struct to store result
|
|
|
|
|
2. SHA1_sha1file, a function to get sha1 of a file.
|
|
|
|
|
3. leftRotate32, a function to circular shift 32 bit unsigned integers.
|
|
|
|
|
3. leftRotate32, a function to circular shift 32 bit unsigned integers.
|
|
|
|
|