fn Salsa(comptime rounds: comptime_int) type
[src]
The Salsa stream cipher.
Functions
fn xor(out: []u8, in: []const u8, counter: u64, key: [key_length]u8, nonce: [nonce_length]u8) void
Add the output of the Salsa stream cipher to
in
and stores the result into `ou…Add the output of the Salsa stream cipher to
in
and stores the result intoout
. WARNING: This function doesn’t provide authenticated encryption. Using the AEAD or one of thebox
versions is usually preferred.