#!/usr/bin/env python
#coding:utf-8

import hashlib

def md5_encrypt(pwd):
    md5 = hashlib.md5()       # 2，实例化md5() 方法
    md5.update(pwd.encode())      # 3，对字符串的字节类型加密
    result = md5.hexdigest()       # 4，加密
    return result

c15d7e17b0c820445795088cc07b3c8d6d0d475a
<mask token>

<mask token>


def md5_encrypt(pwd):
    md5 = hashlib.md5()
    md5.update(pwd.encode())
    result = md5.hexdigest()
    return result

import hashlib


def md5_encrypt(pwd):
    md5 = hashlib.md5()
    md5.update(pwd.encode())
    result = md5.hexdigest()
    return result

#!/usr/bin/env python
#coding:utf-8

import hashlib

def md5_encrypt(pwd):
    md5 = hashlib.md5()       # 2，实例化md5() 方法
    md5.update(pwd.encode())      # 3，对字符串的字节类型加密
    result = md5.hexdigest()       # 4，加密
    return result
