I am creating a function to convert a usual password to a hash. I have the following function :
import hashlib import u