Commit Graph

205 Commits

Author SHA1 Message Date
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 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 f55f62f1a5 move helper function definitions before usage 2017-05-12 12:10:23 +10:00
Daniel Cousens f6bcccc258 Merge pull request #37 from blocktrail/checksum-padding-fix2
Sanity checks for entropy size
2017-05-12 11:54:58 +10:00
Daniel Cousens a2f0a2c049 Merge branch 'master' into checksum-padding-fix2 2017-03-15 18:29:55 +11:00
Daniel Cousens 323650207a 2.3.0 2017-03-15 18:27:18 +11:00
Daniel Cousens c1fc7b9e7d Merge pull request #42 from bitcoinjs/feature/wordlists-tests
Add download/verify script
2017-03-15 18:26:28 +11:00
Kirill Fomichev ba6efa59a0 Add download/verify script 2017-03-15 09:57:19 +03:00
Daniel Cousens ef755ad62e Merge pull request #40 from bitcoinjs/feature/french-italian-spanish
Add wordlists: french italian spanish
2017-03-15 11:15:02 +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 952d41527e.

Conflicts:
	index.js
2016-10-06 12:49:50 +02:00
Daniel Cousens 95122ca9fa Merge pull request #36 from bitcoinjs/smallfixes
Various package updates
2016-10-06 10:29:30 +11:00
Daniel Cousens 60a86e6064 .gitignore: add nyc and npm-debug.log 2016-10-06 01:17:24 +11: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 e051671a63 README: rework examples and formatting 2016-10-06 01:08:45 +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
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 a9d140a004 package: bump to pbkdf2@3.0.9 2016-10-06 00:07:58 +11:00
Daniel Cousens acfdcc72f0 package: rm compile target 2016-10-06 00:07:38 +11:00
Daniel Cousens c3d45e9000 add standard test target 2016-10-06 00:07:18 +11:00
Daniel Cousens 3d9d09d27a use standard 2016-10-06 00:03:28 +11:00
Daniel Cousens 981ab63ce9 Merge pull request #34 from bitcoinjs/dcousens-patch-1
.travis: drop 0.10 support
2016-10-05 23:51:57 +11:00
Daniel Cousens e7c23bec38 .travis: drop 0.10 support 2016-10-05 23:47:34 +11:00
Daniel Cousens 5a175c1e67 Merge pull request #33 from blocktrail/checksum-padding-fix
fix issue with 11 bit padding messing up checksum check.
2016-10-05 23:13:24 +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 3f5feb4089 Merge pull request #30 from bitcoinjs/dcousens-patch-1
travis: more versions
2016-06-22 12:36:24 +10:00
Daniel Cousens d4a756be2b travis: more versions 2016-06-22 08:20:53 +10:00
Daniel Cousens e2641c608b Merge pull request #25 from dabura667/warnreadme
Add checksum warning to readme
2015-10-13 10:35:39 +11:00
dabura667 b97c718164 unbold 2015-10-04 00:44:49 +09:00
dabura667 52e5a218e4 Add checksum warning to readme 2015-10-03 19:01:47 +09: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
Daniel Cousens 9218ab463c Merge pull request #24 from dabura667/add-ja-wordlist
Add Japanese
2015-10-02 00:25:49 +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 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
dabura667 54cb2370fd Expose Japanese wordlist for use 2015-09-28 22:11:50 +09:00