Hashing password function with sha1 library