Documentation ¶
Overview ¶
Package salsa provides low-level access to functions in the Salsa family.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Sigma = [16]byte{'e', 'x', 'p', 'a', 'n', 'd', ' ', '3', '2', '-', 'b', 'y', 't', 'e', ' ', 'k'}
Sigma is the Salsa20 constant for 256-bit keys.
Functions ¶
func Core208 ¶
Core208 applies the Salsa20/8 core function to the 64-byte array in and puts the result into the 64-byte array out. The input and output may be the same array.
func HSalsa20 ¶
HSalsa20 applies the HSalsa20 core function to a 16-byte input in, 32-byte key k, and 16-byte constant c, and puts the result into the 32-byte array out.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.