Commit Graph

194 Commits

Author SHA1 Message Date
Ian Coleman
b0c07d72e7 Bits Per Event says 'or less' for card entropy
because as each card is discarded, less entropy is added for subsequent
events.
2016-11-17 14:34:36 +11:00
Ian Coleman
0fdcf2eb53 Entropy library has extra comments for clarity 2016-11-17 14:31:57 +11:00
Ian Coleman
6422c1cd57 Entropy library assumes cards are discarded
and removed the duplicate logic from the UI logic.
2016-11-17 14:28:26 +11:00
Ian Coleman
bbc29c80f4 Missing cards are detected 2016-11-17 11:59:15 +11:00
Ian Coleman
5c653a12e7 Duplicate card detection is case insensitive 2016-11-17 11:34:09 +11:00
Ian Coleman
95f04905c1 Card entropy changes compiled into standalone.html 2016-11-16 13:02:41 +11:00
Ian Coleman
0c6777eec4 testMaxTime increased from 5s to 10s
Specifically for test titled "Very large entropy results in very long
mnemonics"
2016-11-16 13:00:26 +11:00
Ian Coleman
a3a61b68d1 Entropy feedback retains horizontal spacing
was previously wrapping poorly for entropy with zxcvbn suggestions, such
as many repeated 6s
2016-11-16 12:50:33 +11:00
Ian Coleman
fc8c404133 Multiple decks of cards are possible
but also a needless oversupply of entropy
2016-11-16 12:43:08 +11:00
Ian Coleman
9bc39377aa zxcvbn errors are caught, with strength 'unknown' 2016-11-16 12:12:13 +11:00
Ian Coleman
391c7f267f Card duplicates and use of full deck is detected 2016-11-16 11:58:26 +11:00
Ian Coleman
02f05d3e46 Entropy strength for cards assumes no replacement 2016-11-16 11:19:49 +11:00
Ian Coleman
b6dbc2a1ae BigInteger library moved to own file 2016-11-16 10:54:34 +11:00
Ian Coleman
2a6dd137d9 Entropy changes compiled into standalone 2016-11-14 13:40:04 +11:00
Ian Coleman
b2d61f5602 Card suit font height is closer to text height 2016-11-14 13:39:07 +11:00
Ian Coleman
d6fd8ebf86 Entropy is truncated from the left
This provides greater compatibility with bip32jp.github.io
2016-11-14 13:21:04 +11:00
Ian Coleman
dd94490656 Tests pass with new entropy layout 2016-11-14 13:19:53 +11:00
Ian Coleman
b54c12180e Card suits have color and use larger font size 2016-11-14 13:03:43 +11:00
Ian Coleman
0a84fe6ae1 Entropy section consumes less vertical space 2016-11-14 12:38:40 +11:00
Ian Coleman
18abe53b7a Entropy changes compiled into standalone.html 2016-11-11 14:41:47 +11:00
Ian Coleman
e6a799cc7e Strength tests include zxcvbn strength detection 2016-11-10 21:55:32 +11:00
Ian Coleman
eea357ca48 Entropy field consumes same vertical width as help 2016-11-10 21:45:16 +11:00
Ian Coleman
b299a6a722 Entropy strength measured using zxcvbn 2016-11-10 21:34:15 +11:00
Ian Coleman
439f0e252b Entropy types are clearly indicated in UI 2016-11-10 21:12:21 +11:00
Ian Coleman
2dd6e8a969 Cards added to entropy placeholder text 2016-11-10 21:01:02 +11:00
Ian Coleman
fb353f9d4d Entropy feedback tests all fields 2016-11-10 20:44:50 +11:00
Ian Coleman
3599674db4 Mnemonic length can be set when using raw entropy 2016-11-10 18:58:18 +11:00
Ian Coleman
1cf1bbaff5 Entropy feedback in tabular format, not sentence 2016-11-10 17:53:09 +11:00
Ian Coleman
88df3739e7 DOM.strength renamed DOM.generatedStrength
to avoid confusion with entropy strength
2016-11-10 10:57:25 +11:00
Ian Coleman
c193ff67e8 Card entropy uses unicode suit symbols in cleanStr 2016-11-10 10:55:38 +11:00
Ian Coleman
a3d78b7ddc Dice conversion to Base 6 uses arrays not strings 2016-11-10 10:54:43 +11:00
Ian Coleman
0d0f07f937 No leading zeros for first char unless hex 2016-11-08 21:59:08 +11:00
Ian Coleman
425b75a925 Dice entropy conversion to Base 6 is simpler
Old: Every dice roll is reduced by 1
New: Replace all 6s with 0s
2016-11-07 16:56:44 +11:00
Ian Coleman
adc8ce127d Cards can be used for entropy
Format is [A2-9TJQK][CDHS]
2016-11-07 16:01:21 +11:00
Ian Coleman
6606c50fd3 Entropy refactor to prep for card detection 2016-11-07 13:18:59 +11:00
Ian Coleman
057722b034 Blank entropy does not generate addresses 2016-11-07 13:16:47 +11:00
Ian Coleman
52e6eb81c8 jsbip39 updated to latest version 2016-11-07 11:33:47 +11:00
Ian Coleman
c6624d51f4 Entropy can be supplied by user 2016-11-04 15:14:13 +11:00
Ian Coleman
d737abf680 Table uses monospace font.
See https://github.com/iancoleman/bip39/issues/32#issuecomment-257776567
2016-11-03 10:12:45 +11:00
Ian Coleman
1b12b2f5f1 Public key column in table, shown as hex 2016-11-02 12:13:21 +11:00
Ian Coleman
92b46ab44f Languages no longer experimental.
Still pending reference implementation unit tests, but the ones included
in jsbip39 were generated using the reference implementation.
2016-10-21 08:24:40 +11:00
Ian Coleman
0515eeec0e Languages compiled into bip39-standalone.html 2016-10-20 16:54:15 +11:00
Ian Coleman
398366165f Languages without unit tests marked 'experimental' 2016-10-20 16:52:57 +11:00
Ian Coleman
5ee7bb9ec2 Multiple language functionality added 2016-10-20 16:42:15 +11:00
Ian Coleman
3a8dbe99b4 jsBip39 and wordlists updated with new languages 2016-10-20 16:40:52 +11:00
Ian Coleman
e1bae8436a Non-English language tests added 2016-10-20 16:22:49 +11:00
Ian Coleman
7c31e3cd23 Languages html to select language 2016-10-20 09:18:51 +11:00
Ian Coleman
b630f83d23 Links and author changed to iancoleman 2016-10-11 10:11:00 +11:00
Ian Coleman
b0818b31e6 Generate button moved for simpler user experience 2016-10-05 12:48:29 +11:00
Ian Coleman
b0fb45b9f1 Template code in comment for future tests. 2016-10-05 12:37:01 +11:00