代码如下:

# /usr/bin/python
# -*- coding:utf-8 -*-
import hashlib

h=hashlib.md5()
data = '111'
h.update(data.encode("gb2312"))
print(h.hexdigest())

 

相关文章:

  • 2022-02-12
  • 2021-07-02
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2021-10-08
  • 2021-12-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-11
  • 2022-02-08
  • 2021-09-06
  • 2021-11-07
  • 2022-12-23
  • 2021-08-07
相关资源
相似解决方案