package salsa

Import Path
	golang.org/x/crypto/salsa20/salsa (on go.dev)

Dependency Relation
	imports one package, and imported by 3 packages

Involved Source Files Package salsa provides low-level access to functions in the Salsa family. Deprecated: this package exposes unsafe low-level operations. New applications should consider using the AEAD construction in golang.org/x/crypto/chacha20poly1305 instead. Existing users should migrate to golang.org/x/crypto/salsa20. salsa208.go salsa20_amd64.go salsa20_ref.go salsa20_amd64.s
Package-Level Functions (total 3)
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.
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.
XORKeyStream crypts bytes from in to out using the given key and counters. In and out must overlap entirely or not at all. Counter contains the raw salsa20 counter bytes (both nonce and block counter).
Package-Level Variables (only one)
Sigma is the Salsa20 constant for 256-bit keys.