Commit Graph

34 Commits

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