ait.dsn.bin.ait_encrypt module

ait.dsn.bin.ait_encrypt.get_encrypter(type=None)

Returns a newly instantiated, configured and connected Encrypter instance If type is shortname per encrypter class dict, then associated class is used. If type contains a period, it is assumed to be the full encrypter class name If type is None, then a default encrypter will be returned :param type: Short name based on supported map, or full encrypter class name, or None :return: New Encrypter instance

ait.dsn.bin.ait_encrypt.main()
ait.dsn.bin.ait_encrypt.process_data(in_data, mode, encr_type=None)

Process the input data, based on the mode and encrypter type :param mode: EncryptMode enum :param in_data: Input data :param encr_type: Type of the Encrypter to use :return: Processed (encrypted or decrypted) output as bytearray, no None