Salmon
Loading...
Searching...
No Matches
encryptor.py File Reference

Classes

class  Encryptor
 Utility class that encrypts byte arrays. More...
 

Namespaces

namespace  salmon_core
 Salmon Core package.
 
namespace  salmon_core.salmon
 Salmon encryption.
 
namespace  salmon_core.salmon.encryptor
 Utility class that decrypts byte arrays.
 

Functions

( int, int) _encrypt_data (MemoryStream input_stream, int start, int count, bytearray out_data, bytearray key, bytearray nonce, EncryptionFormat enc_format, bool integrity, bytearray|None hash_key, int chunk_size, int buffer_size, str|None shm_cancel_name=None)
 
 _encrypt_shm (int index, int part_size, int running_threads, bytearray data, str shm_out_name, int shm_length, str shm_cancel_name, bytearray key, bytearray nonce, EncryptionFormat enc_format, bool integrity, bytearray|None hash_key, int chunk_size, int buffer_size)