📅  最后修改于: 2022-03-11 14:46:45.256000             🧑  作者: Mango
代码示例1
from cryptography.fernet import Fernet
message = "my deep dark secret".encode()
f = Fernet(key)
encrypted = f.encrypt(message)