【Python】MD5/hashlib

 

# coding=utf-8
import hashlib
 
 
md = hashlib.md5()
md.update('abcdef'.encode('utf-8'))
print(md.hexdigest())

e80b5017098950fc58aad83c8c14978e

posted @ 2021-12-23 16:08  淡怀  阅读(22)  评论(0)    收藏  举报