dcrypt.nacl.secretbox

Undocumented in source.

Members

Functions

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

High-level symmetric authenticated encryption.

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

High-level symmetric authenticated decryption.

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

Helper function for testing.

Meta