Replacing integer based signature with sha1 signature