Cryptobox Message Routines
This namespace holds various high-level crypto functions
Encrypt a message using a shared secret key
const(ubyte)* input | the input data |
size_t input_len | the length of input in bytes |
SymmetricKey master_key | the key used to encrypt the message |
RandomNumberGenerator rng | a ref to a random number generator, such as AutoSeededRNG |
Encrypt a message using a shared secret key
const(ubyte)* input | the input data |
size_t input_len | the length of input in bytes |
SymmetricKey master_key | the key used to encrypt the message |