fn xor(out: []u8, in: []const u8, counter: u64, key: [key_length]u8, nonce: [nonce_length]u8) void
[src]
Add the output of the XSalsa stream cipher to in
and stores the result into out
. WARNING: This function doesn’t provide authenticated encryption. Using the AEAD or one of the box
versions is usually preferred.