EntropyGenerator class

A class for generating cryptographically secure random entropy.

The EntropyGenerator class is designed to produce random entropy with a specified bit length. It uses a cryptographically secure random number generator to generate the entropy.

Implementers

Constructors

EntropyGenerator(int bitlen)
Creates an EntropyGenerator instance with the desired bit length.

Properties

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

Methods

generate() List<int>
Generates and returns random entropy as a List<int>.
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