View Source BitcoinLib.Key.HD.MnemonicSeed (BitcoinLib v0.1.2)
Compute a mnemonic seed from a private key
Link to this section Summary
Functions
Convert a mnemonic phrase into a seed, with a optional passphrase
Convert a random entropy number into a mnemonic seed
Link to this section Functions
Convert a mnemonic phrase into a seed, with a optional passphrase
examples
Examples
iex> "brick giggle panic mammal document foam gym canvas wheel among room analyst" ...> |> BitcoinLib.Key.HD.MnemonicSeed.to_seed() "7e4803bd0278e223532f5833d81605bedc5e16f39c49bdfff322ca83d444892ddb091969761ea406bee99d6ab613fad6a99a6d4beba66897b252f00c9dd7b364"
Convert a random entropy number into a mnemonic seed
examples
Examples
iex> 101_750_443_022_601_924_635_824_320_539_097_414_732 ...> |> BitcoinLib.Key.HD.MnemonicSeed.wordlist_from_entropy() "erode gloom apart system broom lemon dismiss post artist slot humor occur"