Random data used to create a mnemonic sentence. Use a good entropy source. You will get your coins stolen if you don't. You have been warned.
Moduleweb3-crypto-1.1.0.0Haskell2010
Crypto.Bip39
Mnemonic keys (BIP-39). Only English dictionary. Thanks to Haskoin project https://hackage.haskell.org/package/haskoin-core.
- 4 types
- 3 values
- Packageweb3-crypto-1.1.0.0
- Exports7
- LanguageHaskell2010
- LicenceApache-2.0
- SourceBip39.hs
Mnemonic Sentences
7 declarationsHuman-readable mnemonic sentence.
Optional passphrase for mnemnoic sentence.
Seed for a private key from a mnemonic sentence.
Provide intial Entropy as a ByteString of length multiple of 4 bytes. Output a Mnemonic sentence.
Revert toMnemonic. Do not use this to generate a Seed. Instead use mnemonicToSeed. This outputs the original Entropy used to generate a Mnemonic sentence.
Get a 512-bit Seed from a Mnemonic sentence. Will validate checksum. Passphrase can be used to protect the Mnemonic. Use an empty string as Passphrase if none is required.