29 Commits

Author SHA1 Message Date
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
Wei Lu
2b9402f302 Crypto -> CryptoJS 2014-05-28 23:10:54 +08:00
Wei Lu
9593d0b287 Refactor entropyToMnemonic to use buffer and crypto 2014-05-28 23:10:11 +08:00
Wei Lu
e625e4defc add mnemonic validate method 2014-04-05 12:44:16 +08:00
Wei Lu
893ee6532a make it browserify friendly 2014-03-31 15:11:03 +08:00
Wei Lu
d026bbe2ef add generateMnemonic 2014-03-31 14:07:34 +08:00
Wei Lu
14a57f7d21 use absolute path 2014-03-15 12:48:29 +08:00
Wei Lu
a744fcccd7 use require-folder + folderify instead of require-json-tree 2014-03-15 10:05:02 +08:00
Wei Lu
6fd8698af2 make bip39 play nice with browserify 2014-03-14 17:05:58 +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
ffb8e25b4b implement mnemonicToSeed 2014-03-10 10:49:53 +08:00