Changed hashing method to SHA1