MoneroEntropyGenerator class
Generates entropy for Monero-based cryptocurrency wallets with the specified bit length.
- Inheritance
-
- Object
- EntropyGenerator
- MoneroEntropyGenerator
Constructors
- MoneroEntropyGenerator(int bitLen)
- Creates a Monero entropy generator with the given bit length.
Properties
Methods
-
generate(
) → List< int> -
Generates and returns random entropy as a List<int>.
inherited
-
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
Static Methods
-
isValidEntropyBitLen(
int bitLen) → bool - Checks if the provided bit length is valid for generating entropy.
-
isValidEntropyByteLen(
int byteLen) → bool - Checks if the provided byte length is valid for generating entropy.