Change SHA256 to SHA1when hashing email.