# coding=utf8
from hashlib import sha1
def pwdUtl(pwd):
s1 = sha1()
s1.update(pwd.encode('utf-8'))
hpwd = s1.hexdigest()
return hpwd
# coding=utf8
from hashlib import sha1
def pwdUtl(pwd):
s1 = sha1()
s1.update(pwd.encode('utf-8'))
hpwd = s1.hexdigest()
return hpwd