Creating function which generate a sha1, it work with the FFI and the sha.h included in the library openssl.
Adding function "generateSha" which generate the sha1 for a file like the git function's hash-object