当前位置:网站首页>解决TypeError: Unicode-objects must be encoded before hashing

解决TypeError: Unicode-objects must be encoded before hashing

2022-06-25 22:00:00 _七里香


md5(ss)

md5(ss.encode("utf8"))


也就是说在hash操作之前必须先进行编码

原网站

版权声明
本文为[_七里香]所创,转载请带上原文链接,感谢
https://lan6193.blog.csdn.net/article/details/125443280