Esempio n. 1
0
 def encrypt(self, data):
     """
     Pad, then encrypt, the given data with AES-CTR.
     """
     return self.cipher.encrypt(BlockCipher.pad(data))