dcrypt.nacl.secretbox

Members

Functions

secretbox
ubyte[] secretbox(in ubyte[] msg, in ubyte[] nonce, in ubyte[] key)

High-level symmetric authenticated encryption.

secretbox_open
ubyte[] secretbox_open(in ubyte[] boxed, in ubyte[] nonce, in ubyte[] key)

High-level symmetric authenticated decryption.

test_secret_box
void test_secret_box(in ubyte[] msg, in ubyte[] boxed_ref, in ubyte[] key, in ubyte[] nonce)

Helper function for testing.

Meta