mirror of https://github.com/status-im/bip39.git
Add wordlists: french, italian, spanish
This commit is contained in:
parent
12ec50c0bc
commit
26b9edee79
8
index.js
8
index.js
|
@ -6,7 +6,10 @@ var randomBytes = require('randombytes')
|
|||
var unorm = require('unorm')
|
||||
|
||||
var ENGLISH_WORDLIST = require('./wordlists/english.json')
|
||||
var FRENCH_WORDLIST = require('./wordlists/french.json')
|
||||
var ITALIAN_WORDLIST = require('./wordlists/italian.json')
|
||||
var JAPANESE_WORDLIST = require('./wordlists/japanese.json')
|
||||
var SPANISH_WORDLIST = require('./wordlists/spanish.json')
|
||||
var DEFAULT_WORDLIST = ENGLISH_WORDLIST
|
||||
|
||||
function salt (password) {
|
||||
|
@ -138,6 +141,9 @@ module.exports = {
|
|||
JA: JAPANESE_WORDLIST,
|
||||
|
||||
english: ENGLISH_WORDLIST,
|
||||
japanese: JAPANESE_WORDLIST
|
||||
french: FRENCH_WORDLIST,
|
||||
italian: ITALIAN_WORDLIST,
|
||||
japanese: JAPANESE_WORDLIST,
|
||||
spanish: SPANISH_WORDLIST
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue