Pbkdf2GetBytes Method

Generates an array of random bytes with the specified length.

Definition

Namespace: SnapDB.Security
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public override byte[] GetBytes(
	int length
)

Parameters

length  Int32
The desired length of the generated byte array.

Return Value

Byte
An array of random bytes with the specified length.

Exceptions

ArgumentOutOfRangeExceptionThrown when length is not a positive value.

See Also