MnemonicCode

class Object
trait Matchable
class Any

Value members

Concrete methods

def toMnemonics(entropy: ByteVector, wordlist: Seq[String]): List[String]

BIP39 entropy encoding

BIP39 entropy encoding

Value parameters:
entropy

input entropy

wordlist

word list (must be 2048 words long)

Returns:

a list of mnemonic words that encodes the input entropy

Source:
MnemonicCode.scala
def toSeed(mnemonics: Seq[String], passphrase: String): ByteVector

BIP39 seed derivation

BIP39 seed derivation

Value parameters:
mnemonics

mnemonic words

passphrase

passphrase

Returns:

a seed derived from the mnemonic words and passphrase

Source:
MnemonicCode.scala
def toSeed(mnemonics: String, passphrase: String): ByteVector
def validate(mnemonics: Seq[String], wordlist: Seq[String]): Unit

validate that a mnemonic seed is valid

validate that a mnemonic seed is valid

Value parameters:
mnemonics

list of mnemomic words

Source:
MnemonicCode.scala
def validate(mnemonics: String): Unit

Concrete fields