from hashlib import sha1
#给password加密
s1 = sha1() #创建sha1加密对象
s1.update(password.encode("utf-8")) #转码(字节流)
password2 = s1.hexdigest() #将字节码转成16进制



相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
相关资源
相似解决方案