import hashlib
h5=hashlib.md5() ctime=time.time() h5.update(bytes(str(ctime),encoding='utf-8')) token=h5.hexdigest()#digest()返回的是b格式
fushuanglin 博主文章分类:pythondjango ©著作权
import hashlib
h5=hashlib.md5() ctime=time.time() h5.update(bytes(str(ctime),encoding='utf-8')) token=h5.hexdigest()#digest()返回的是b格式
下一篇:python反射
hashlib模块
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M