Click or drag to resize

RC4UtilityKeystream(Byte) Method

Generates an RC4 byte keystream that is intended to be XOR'd with plaintext.

Namespace: Orthogonal.Common.Basic
Assembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 3.2.5
Syntax
C#
public static IEnumerable<byte> Keystream(
	byte[] key
)

Parameters

key  Byte
A non-zero length encryption key byte array.

Return Value

IEnumerableByte
An enumerable endless byte keystream.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the key is null.
ArgumentExceptionThrown if the key is zero-length.
See Also