From d5148c0e6ac4b17261398749ea29389d189a8187 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Tue, 9 Oct 2018 19:12:37 +1100 Subject: [PATCH] README: add password example --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c482417..cee3a0b 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,9 @@ bip39.mnemonicToSeedHex('basket actual') bip39.mnemonicToSeed('basket actual') // => +bip39.mnemonicToSeed('basket actual', 'a password') +// => + bip39.validateMnemonic(mnemonic) // => true