Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Crypto.ParamsOfMnemonicFromEntropy
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Crypto.ParamsOfMnemonicFromEntropy
- Record Components:
entropy
- Hex encoded. Entropy bytes.dictionary
- Dictionary identifierwordCount
- Mnemonic word count
- Enclosing class:
Crypto
public static record Crypto.ParamsOfMnemonicFromEntropy(String entropy, Crypto.MnemonicDictionary dictionary, Integer wordCount)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfMnemonicFromEntropy
(String entropy, Crypto.MnemonicDictionary dictionary, Integer wordCount) Creates an instance of aParamsOfMnemonicFromEntropy
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedictionary
record component.entropy()
Returns the value of theentropy
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Returns the value of thewordCount
record component.
-
Constructor Details
-
ParamsOfMnemonicFromEntropy
public ParamsOfMnemonicFromEntropy(String entropy, Crypto.MnemonicDictionary dictionary, Integer wordCount) Creates an instance of aParamsOfMnemonicFromEntropy
record class.- Parameters:
entropy
- the value for theentropy
record componentdictionary
- the value for thedictionary
record componentwordCount
- the value for thewordCount
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
entropy
-
dictionary
Returns the value of thedictionary
record component.- Returns:
- the value of the
dictionary
record component
-
wordCount
-