python hashlib

mac2022-06-30  23

import hashlib a=hashlib.md5(bytes('',encoding='utf-8')) a.update(bytes('',encoding='utf-8')) print(a.hexdigest()) #空格也有编码的

编码还有很多 sha1 sha等等

转载于:https://www.cnblogs.com/ezway/p/6510251.html

最新回复(0)