1.加密 1.加密hash_object = hashlib.md5("选择加严文本也可以不加严".encode('utf-8'))hash_object.update("加密的文本".encode('utf-8'))result = hash_object.hexdigest()print(result)