138 Commits

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

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
dabura667
99e8cfcdbe Add ja.json with Japanese wordlist 2015-09-28 22:09:21 +09:00
Daniel Cousens
79f873b7ad 2.2.0 v2.2.0 2.2.0 2015-08-17 10:39:39 +10:00
Daniel Cousens
389366b300 README: update travis url 2015-08-17 10:38:21 +10:00
Daniel Cousens
f263412660 add test for wordlists 2015-08-17 10:37:02 +10:00
Daniel Cousens
da68d394f3 Merge pull request #22 from bitcoinjs/alt17
add alternative to #17
2015-08-17 10:32:48 +10:00
Daniel Cousens
132ba11c72 expose EN wordlist, resolves #17 2015-08-17 10:29:04 +10:00
Daniel Cousens
b908620fea README: add npm badge 2015-04-09 12:18:46 +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
Wei Lu
3beea7b121 bump version 2.1.2 2015-04-08 22:34:48 +08:00
Wei Lu
0152f89ea5 Merge pull request #20 from weilu/packdirect
Use browserify packages directly
2015-04-08 10:32:17 +08:00
Daniel Cousens
1e2eb62cff adds test for randombytes 2015-04-08 12:26:14 +10:00
Daniel Cousens
d99ec8630f index: use utf8 explicitly 2015-03-27 14:42:47 +11:00
Wei Lu
38d1ae21c2 remove sinon as a dev dependency 2015-03-18 23:50:05 +08:00
Daniel Cousens
ff287164d1 index: use createHash/pbkdf2 directly 2015-03-18 19:23:26 +11: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
Daniel Cousens
6974208f6b package: remove testling 2015-03-17 15:00:53 +11:00