mirror of
https://github.com/status-im/bip39.git
synced 2025-01-25 03:49:03 +00:00
README - fix example to match actual result
This commit is contained in:
parent
5883176c2f
commit
a9b407a7d3
@ -43,9 +43,9 @@ var bip39 = require('bip39')
|
||||
// defaults to BIP39 English word list
|
||||
// uses HEX strings for entropy
|
||||
var mnemonic = bip39.entropyToMnemonic('00000000000000000000000000000000')
|
||||
// => zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo wrong
|
||||
// => abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
|
||||
|
||||
// reversible
|
||||
bip39.mnemonicToEntropy(mnemonic)
|
||||
// => '133755ff'
|
||||
// => '00000000000000000000000000000000'
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user