예제 #1
0
 def __init__(self):
     super(AESBase, self).__init__()
     self.key = get_key(32)
     self.IV = get_iv(AES.block_size)
예제 #2
0
 def __init__(self):
     super(TripleDESBase, self).__init__()
     self.key = get_key(16)
     self.IV = get_iv(DES3.block_size)