22 Commits

Author SHA1 Message Date
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
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