FixedNonceGenerator class

Deterministic nonce generator for tests. Repeats the provided sequence cyclically if shorter than 8 bytes.

Implemented types

Constructors

FixedNonceGenerator.new(Uint8List seed)
Creates a predictable generator using seed bytes.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

nextNonce() Uint8List
Produces an 8-byte nonce by reading forward from _seed cyclically.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited