Package org.xrpl.xrpl4j.crypto.core.keys
Class Entropy
java.lang.Object
org.xrpl.xrpl4j.crypto.core.keys.Entropy
- All Implemented Interfaces:
Destroyable
A compact value that is used to derive the actual private and public keys for an account.
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
destroy()
boolean
int
hashCode()
final boolean
static Entropy
Construct a new instance of anEntropy
.static Entropy
of
(byte[] entropy) Construct a new instance of anEntropy
from the supplied byte array.toString()
value()
Accessor for a copy of the value of this seed.
-
Method Details
-
newInstance
Construct a new instance of anEntropy
.- Returns:
- An
Entropy
.
-
of
Construct a new instance of anEntropy
from the supplied byte array.- Parameters:
entropy
- An array of bytes.- Returns:
- An
Entropy
.
-
value
Accessor for a copy of the value of this seed.- Returns:
- An instance of
UnsignedByteArray
.
-
destroy
public final void destroy()- Specified by:
destroy
in interfaceDestroyable
-
isDestroyed
public final boolean isDestroyed()- Specified by:
isDestroyed
in interfaceDestroyable
-
equals
-
hashCode
public int hashCode() -
toString
-