Work with SHA1 in C

Generate SHA1 checksum of a file function