import hashlib
data = {"pageId": "b026785c5043851a5dfc0ae65a4749c5"}
name = '"{}"'.format(str(data))
print(name)
e4081212402c47f6034fe5cb0b2b8e58
print(hashlib.md5(name.encode(encoding='utf-8')).hexdigest())
import hashlib
data = {"pageId": "b026785c5043851a5dfc0ae65a4749c5"}
name = '"{}"'.format(str(data))
print(name)
print(hashlib.md5(name.encode(encoding='utf-8')).hexdigest())
本文标题:python实现 js json.stringfy()
本文链接:https://www.haomeiwen.com/subject/elhmmqtx.html
网友评论