SeedSequence.NextUInt32 Method

Generates the next 32-bit unsigned integer from the entropy stream.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public abstract uint NextUInt32()

Return Value

UInt32
A 32-bit unsigned integer.

Remarks

This is the fundamental operation of SeedSequence. All other generation methods are derived from this method.

This aligns with established reference designs (C++11 std::seed_seq, NumPy SeedSequence) where 32-bit words are the canonical entropy unit.

  Important

Each call advances the internal stream position. Calling NextUInt32() twice will produce different values unless Reset() is called between them.

See Also