python .md5 加密 import hashlib hash = hashlib.md5() hash.update(text.encode('utf-8')) print(hash.hexdigest())