Kirill Fomichev
|
b2408f0c16
|
Add chinese wordlists
|
2017-07-30 17:07:52 +03:00 |
|
Daniel Cousens
|
2efba14c03
|
use safe-buffer
|
2017-05-23 15:05:41 +10:00 |
|
Daniel Cousens
|
c1e80936ac
|
check entropyBytes for ENT constraints, for readability
|
2017-05-12 13:03:56 +10:00 |
|
Daniel Cousens
|
e908612959
|
consistent checksumBits naming
|
2017-05-12 13:02:17 +10:00 |
|
Daniel Cousens
|
bb6bd4c492
|
TypeErrors for entropy length
|
2017-05-12 12:58:00 +10:00 |
|
Daniel Cousens
|
3854893382
|
remove double iteration of words
|
2017-05-12 12:54:40 +10:00 |
|
Daniel Cousens
|
dcf3c1be98
|
remove inline use of parseInt
|
2017-05-12 12:52:36 +10:00 |
|
Daniel Cousens
|
5bf0b641d4
|
enforce 128-256 size ENT, multiple of 4
|
2017-05-12 12:36:12 +10:00 |
|
Daniel Cousens
|
f55f62f1a5
|
move helper function definitions before usage
|
2017-05-12 12:10:23 +10:00 |
|
Daniel Cousens
|
a2f0a2c049
|
Merge branch 'master' into checksum-padding-fix2
|
2017-03-15 18:29:55 +11:00 |
|
Kirill Fomichev
|
26b9edee79
|
Add wordlists: french, italian, spanish
|
2017-03-14 16:14:58 +03:00 |
|
Kirill Fomichev
|
12ec50c0bc
|
Rename wordlist
|
2017-03-14 16:10:53 +03:00 |
|
Ruben de Vries
|
2a5f482d7f
|
assert that length of entropy is a multitude of 4.
limit max entropy to 1024 bytes, at which point we've reached the max size of the checksum.
|
2016-10-06 14:49:38 +02:00 |
|
Ruben de Vries
|
922135a6a2
|
Revert "fix issue with 11 bit padding messing up checksum check."
This reverts commit 952d41527e408967c132e7851315fc7ff3ab9add.
Conflicts:
index.js
|
2016-10-06 12:49:50 +02:00 |
|
Daniel Cousens
|
60dd3ee035
|
switch to tape for testing
|
2016-10-06 01:02:59 +11:00 |
|
Daniel Cousens
|
53cd6f0058
|
remove use of assert
|
2016-10-06 00:08:49 +11:00 |
|
Daniel Cousens
|
c53b825116
|
standard: use === over ==
|
2016-10-06 00:08:39 +11:00 |
|
Daniel Cousens
|
3d9d09d27a
|
use standard
|
2016-10-06 00:03:28 +11:00 |
|
Ruben de Vries
|
952d41527e
|
fix issue with 11 bit padding messing up checksum check.
|
2016-10-05 13:14:02 +02:00 |
|
Daniel Cousens
|
b7d3901adc
|
unorm in the same place
|
2015-10-02 00:35:19 +10:00 |
|
Daniel Cousens
|
889f233bdd
|
adhere to standard
|
2015-10-02 00:30:01 +10:00 |
|
Daniel Cousens
|
967512dc25
|
move unorm comments to import
|
2015-10-02 00:28:57 +10:00 |
|
dabura667
|
6514707eac
|
need to normalize mnemonics too
|
2015-09-28 23:00:57 +09:00 |
|
dabura667
|
638a78c681
|
Join Japanese phrases using ideographic spaces
as per BIP39 mentions
|
2015-09-28 22:52:18 +09:00 |
|
dabura667
|
54cb2370fd
|
Expose Japanese wordlist for use
|
2015-09-28 22:11:50 +09:00 |
|
Daniel Cousens
|
132ba11c72
|
expose EN wordlist, resolves #17
|
2015-08-17 10:29:04 +10:00 |
|
Daniel Cousens
|
d99ec8630f
|
index: use utf8 explicitly
|
2015-03-27 14:42:47 +11:00 |
|
Daniel Cousens
|
ff287164d1
|
index: use createHash/pbkdf2 directly
|
2015-03-18 19:23:26 +11:00 |
|
Daniel Cousens
|
1fc0b204ac
|
bip39: use randombytes package
|
2015-03-17 15:53:12 +11:00 |
|
Wei Lu
|
7c7815b960
|
use unorm for string normalization
[#15]
|
2014-09-28 15:01:22 +08:00 |
|
Ian Coleman
|
232945faa2
|
UTF8 passwords work.
The test suite 'browser' does not support string normalization, so the
normalized string has been included in the tests manually.
|
2014-09-28 02:15:26 +10:00 |
|
Daniel Cousens
|
d433b12495
|
package: upgrade pbkdf2-compat to 2.0.0
|
2014-09-24 12:07:42 +10:00 |
|
Daniel Cousens
|
98ff2ac316
|
index: use pbkdf2-compat instead of cryptojs
|
2014-09-22 18:15:09 +10:00 |
|
Wei Lu
|
ec3f4e16b2
|
Replace secure-random with crypto.randomBytes
https://github.com/dominictarr/crypto-browserify/pull/45
|
2014-08-17 10:37:38 +08:00 |
|
Daniel Cousens
|
40737046ab
|
index: add mnemonicToEntropy backwards function
|
2014-08-17 11:20:30 +10:00 |
|
Daniel Cousens
|
8272cb62f6
|
index: rename mnemonicToSeed to mnemonicToSeedHex
|
2014-08-17 10:46:04 +10:00 |
|
Daniel Cousens
|
713e5c107d
|
index: avoid BIP39 instantiation
|
2014-08-17 10:37:14 +10:00 |
|
Daniel Cousens
|
fda008ad25
|
index: rename validate to validateMnemonic
|
2014-08-17 10:25:25 +10:00 |
|
Wei Lu
|
b0b0a5d5b2
|
remove unnecessary argument
|
2014-08-13 18:21:43 +08:00 |
|
Daniel Cousens
|
8e6380367d
|
BIP39: allow for custom wordlists
|
2014-08-13 19:42:21 +10:00 |
|
Daniel Cousens
|
99981a1de6
|
index: default to randomBuffer
|
2014-06-25 23:48:51 +10:00 |
|
Daniel Cousens
|
e569aeb6d7
|
index: use secureRandom and add missing tests
|
2014-06-24 11:43:29 +10:00 |
|
Daniel Cousens
|
4ddf561dd0
|
index: use consistent slicing method
|
2014-06-23 16:19:36 +10:00 |
|
Daniel Cousens
|
b41eefd395
|
index: clarify BIP39 compliance
|
2014-06-23 15:49:54 +10:00 |
|
Daniel Cousens
|
1f6915bd01
|
index: avoid overwrite, use words variable
|
2014-06-23 13:57:38 +10:00 |
|
Daniel Cousens
|
3552491505
|
all: consistent import order
|
2014-06-23 13:57:37 +10:00 |
|
Daniel Cousens
|
6488b6362e
|
index: use every not reduce
|
2014-06-23 13:57:37 +10:00 |
|
Daniel Cousens
|
f3b4f8cc35
|
index: move export to bottom
|
2014-06-23 13:57:37 +10:00 |
|
Daniel Cousens
|
dc4e1ffa33
|
index: consisent code formatting
|
2014-06-23 13:57:37 +10:00 |
|
Wei Lu
|
2200a6ac16
|
Refactor validate to use crypto and buffer
|
2014-05-28 23:11:52 +08:00 |
|