mirror of
https://github.com/status-im/bip39.git
synced 2025-02-10 11:36:49 +00:00
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
|
||||
}
|
||||
}
|
||||
|
2050
wordlists/french.json
Normal file
2050
wordlists/french.json
Normal file
File diff suppressed because it is too large
Load Diff
2050
wordlists/italian.json
Normal file
2050
wordlists/italian.json
Normal file
File diff suppressed because it is too large
Load Diff
2050
wordlists/spanish.json
Normal file
2050
wordlists/spanish.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user