Resolving SHA1 building for each blobs, replace type of string parameter by NativeString and send string size in parameter of sha1 function