Add support for sha1 hashing method