def AES_cbc_encrypt(self, plaintext):
plaintext = self.padPKCS7(plaintext)
ciphertext = self.encryptor.update(plaintext)
return ciphertext
# EFFECTS: Encrypts the given ciphertext in AES CBC mode. returns a plaintext.
评论列表
文章目录