python计算md5值

from hashlib import md5
m = md5('123456')
print m.hexdigest()
原文地址:https://www.cnblogs.com/JiangLe/p/4950726.html