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 aParamsOfMnemonicFromEntropyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedictionaryrecord component.entropy()Returns the value of theentropyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thewordCountrecord component.
-
Constructor Details
-
ParamsOfMnemonicFromEntropy
public ParamsOfMnemonicFromEntropy(String entropy, Crypto.MnemonicDictionary dictionary, Integer wordCount) Creates an instance of aParamsOfMnemonicFromEntropyrecord class.- Parameters:
entropy- the value for theentropyrecord componentdictionary- the value for thedictionaryrecord componentwordCount- the value for thewordCountrecord 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 thedictionaryrecord component.- Returns:
- the value of the
dictionaryrecord component
-
wordCount
-