Module encryption

Module encryption 

Source

Structs§

DecryptionParameters
DecryptionParameters is basically the RSA .pem encoded private key and passphrase
EncryptionParameters
EncryptionParameters is basically the RSA .pem encoded public key

Functions§

decrypt
Decrypts given byte array
encrypt
Encrypts given byte array of maximum length up to 501 bytes
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