Module encryption

Module encryption 

Source

Structs§

DecryptionParameters
DecryptionParameters is basically the key and nonce
EncryptionParameters
EncryptionParameters is basically the key and nonce

Functions§

decrypt
Decrypts given byte array
encrypt
Encrypts given byte array
get_decryption_params
Returns DecryptionParameters stored at the given location which is relative to the working directory
get_encryption_params
Returns EncryptionParameters stored at the given location which is relative to the working directory
setup
Will read or create EncryptionParameters and DecryptionParameters at the given location which is relative to the working directory