Version of the library sha1.lua, compatible with lua3.2