Daniel Cousens
|
0a866da1aa
|
tests: missing safe-buffer
|
2017-05-23 15:09:08 +10:00 |
Daniel Cousens
|
2efba14c03
|
use safe-buffer
|
2017-05-23 15:05:41 +10:00 |
Daniel Cousens
|
bb6bd4c492
|
TypeErrors for entropy length
|
2017-05-12 12:58:00 +10:00 |
Daniel Cousens
|
5bf0b641d4
|
enforce 128-256 size ENT, multiple of 4
|
2017-05-12 12:36:12 +10:00 |
Daniel Cousens
|
950ce92367
|
README/tests: isolate README tests to new file
|
2017-05-12 12:36:12 +10:00 |
Daniel Cousens
|
6a8d7c95dc
|
tests: show mnemonic in test desc.
|
2017-05-12 12:36:12 +10:00 |
Daniel Cousens
|
ed79ca8c29
|
tests: add missing Error prefix
|
2017-05-12 12:27:21 +10:00 |
Daniel Cousens
|
a2f0a2c049
|
Merge branch 'master' into checksum-padding-fix2
|
2017-03-15 18:29:55 +11:00 |
Kirill Fomichev
|
ba6efa59a0
|
Add download/verify script
|
2017-03-15 09:57:19 +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 952d41527e .
Conflicts:
index.js
|
2016-10-06 12:49:50 +02:00 |
Daniel Cousens
|
8eab54a87e
|
tests: fix bad mnemonic vector
|
2016-10-06 01:11:19 +11:00 |
Daniel Cousens
|
01df8f030e
|
tests: fix total test plan count
|
2016-10-06 01:10:38 +11:00 |
Daniel Cousens
|
60dd3ee035
|
switch to tape for testing
|
2016-10-06 01:02:59 +11:00 |
Daniel Cousens
|
5897d39771
|
package/tests: use proxyquire instead
|
2016-10-06 00:16:16 +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
|
889f233bdd
|
adhere to standard
|
2015-10-02 00:30:01 +10:00 |
dabura667
|
1279a28af1
|
Include Japanese wordlist tests
|
2015-09-28 22:35:33 +09:00 |
dabura667
|
89eef1775b
|
Add Japanese test vectors
|
2015-09-28 22:20:41 +09:00 |
Daniel Cousens
|
f263412660
|
add test for wordlists
|
2015-08-17 10:37:02 +10:00 |
Wei Lu
|
d063b166a8
|
Merge pull request #19 from hankhero/master
Fix failing example in README and made testcase for samples in readme
|
2015-04-08 22:50:11 +08:00 |
Daniel Cousens
|
1e2eb62cff
|
adds test for randombytes
|
2015-04-08 12:26:14 +10:00 |
Daniel Cousens
|
1fc0b204ac
|
bip39: use randombytes package
|
2015-03-17 15:53:12 +11:00 |
Daniel Cousens
|
1eade4d465
|
tests: use camelCase always
|
2015-03-17 15:11:36 +11:00 |
Henrik Hjelte
|
2c962e7735
|
add testcases mimicing the examples in README
|
2014-12-09 20:23:15 +01:00 |
Wei Lu
|
6946ff08ca
|
Test for already normalized password
|
2014-09-28 19:56:36 +08:00 |
Wei Lu
|
3491c3d13e
|
fix string uniform test
[#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 |
Ian Coleman
|
dca4f3f5d1
|
UTF8 passwords test
|
2014-09-28 02:08:00 +10:00 |
Daniel Cousens
|
65d54896c5
|
tests: add verification of use of crypto.randomBytes
|
2014-09-22 16:52:09 +10: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 |
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
|
8408ed79d7
|
tests: code formatting
|
2014-06-23 17:24:52 +10:00 |
Daniel Cousens
|
3552491505
|
all: consistent import order
|
2014-06-23 13:57:37 +10:00 |
Daniel Cousens
|
0edcdaaae6
|
tests: fix wrong file path
|
2014-06-23 13:57:37 +10:00 |
Wei Lu
|
e625e4defc
|
add mnemonic validate method
|
2014-04-05 12:44:16 +08:00 |
Wei Lu
|
068f6d9912
|
implement entropyToMnemonic
|
2014-03-11 16:01:14 +08:00 |
Wei Lu
|
caa9922dc8
|
add English wordlist and constructor
|
2014-03-11 12:38:26 +08:00 |
Wei Lu
|
098ff3e4f7
|
one vector per test
|
2014-03-10 10:57:46 +08:00 |
Wei Lu
|
ffb8e25b4b
|
implement mnemonicToSeed
|
2014-03-10 10:49:53 +08:00 |