def __init__(self): super(AESBase, self).__init__() self.key = get_key(32) self.IV = get_iv(AES.block_size)
def __init__(self): super(TripleDESBase, self).__init__() self.key = get_key(16) self.IV = get_iv(DES3.block_size)