SecureRandomNextBytes(SpanByte) Method

Fills the elements of the specified buffer with random numbers.

Definition

Namespace: KGySoft.Security.Cryptography
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-rc.1
C#
public override void NextBytes(
	Span<byte> buffer
)

Parameters

buffer  SpanByte
A SpanT of bytes to contain random numbers.

See Also