Fixed hashing on pyhton3 by encoding the email