Salsa20Core Compute Method CryptSharp
Applies the Salsa20 hash function. It maps a 16 element input to an output of the same size.

Namespace: CryptSharp.Utility
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax

public static void Compute(
	int rounds,
	uint[] input,
	int inputOffset,
	uint[] output,
	int outputOffset
)

Parameters

rounds
Type: OnlineSystem Int32
The number of rounds. SCrypt uses 8.
input
Type:  OnlineSystem UInt32 
The input buffer.
inputOffset
Type: OnlineSystem Int32
The offset into the input buffer.
output
Type:  OnlineSystem UInt32 
The output buffer.
outputOffset
Type: OnlineSystem Int32
The offset into the output buffer.
See Also