XSalsa20EngineSetKey Method

XSalsa20 key generation: process 256 bit input key and 128 bits of the input nonce using a core Salsa20 function without input addition to produce 256 bit working key and use that with the remaining 64 bits of nonce to initialize a standard Salsa20 engine state.

Definition

Namespace: Org.BouncyCastle.Crypto.Engines
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
protected override void SetKey(
	byte[] keyBytes,
	byte[] ivBytes
)

Parameters

keyBytes  Byte
 
ivBytes  Byte
 

See Also