python MD5加密方法

import hashlib
hash = hashlib.md5()
hash.update('admin')
print hash.hexdigest()

原文地址:https://www.cnblogs.com/franjia/p/6901087.html