python md5

def md5value(s):
   md5 = hashlib.md5()
   md5.update(s.encode("utf8"))
   return md5.hexdigest()

python md5_第1张图片

你可能感兴趣的:(python)