python3 md5 加密

code

import hashlib

m=hashlib.md5("timestamp=1609255104851&data={'company_id': '5fd09cf027f65f542573d0b5', 'org_unit_name': '审计部1609255104851', 'third_parent_id': '121', 'third_org_id': '1609255104851', 'operator_id': '5fd09cf027f65f542573d0b6', 'expand_json': {}}&sign_key=d21309ab7b730b416dee8438fswdr426".encode("utf-8"))
print(m.hexdigest())

输出

macname@MacdeMacBook-Pro ~ % python3 im.py
067fdf8da05ec4fdf26a619f7be5fce0
macname@MacdeMacBook-Pro ~ % 

 

 

 

 

 

 

 

posted @ 2020-12-30 20:05  anobscureretreat  阅读(130)  评论(0编辑  收藏  举报