📅  最后修改于: 2022-03-11 14:46:54.340000             🧑  作者: Mango
from Crypto.Cipher import PKCS1_OAEP
encryptor = PKCS1_OAEP.new(publickey)
encrypted = encryptor.encrypt(b'encrypt this message')