现在的位置: 首页 > 综合 > 正文

hashlib 简单使用方法

2013年11月20日 ⁄ 综合 ⁄ 共 82字 ⁄ 字号 评论关闭
import hashlib


lorem ="this is a test"


h = hashlib.sha1()
h.updatee(lorem)


print h.hexdigest()

抱歉!评论已关闭.