import hashlib def compute_hash(email_address): return hashlib.md5(email_address.strip().lower()).hexdigest()