adding support for SHA1