(self, ciphertext)
| 14 | return encryptor.update(plaintext) + encryptor.finalize() |
| 15 | |
| 16 | def decrypt(self, ciphertext): |
| 17 | decryptor = self.cipher.decryptor() |
| 18 | return decryptor.update(ciphertext) + decryptor.finalize() |
| 19 | |
| 20 | |
| 21 | class WeChatCipher(BaseWeChatCipher): |