Skip to content

Commit

Permalink
v3.1.0 add BIP38 Encrypt to Wallet Details tab
Browse files Browse the repository at this point in the history
  • Loading branch information
pointbiz committed Nov 16, 2015
1 parent bd8ec49 commit c2e7fcf
Show file tree
Hide file tree
Showing 7 changed files with 592 additions and 302 deletions.
443 changes: 294 additions & 149 deletions bitaddress.org.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "bitaddress.org",
"version": "3.0.1",
"sha1sum": "c24a422a1e1d8eb263c633783b6a030b902e5e56",
"sha256sum": "24d2d7f047a9aa217bf69f3ef344c972c151b1e3f6a8aa86ceb9a3be62884bc0",
"version": "3.1.0",
"sha1sum": "",
"sha256sum": "",
"description": "Open Source JavaScript Client-Side Bitcoin Wallet Generator",
"main": "Gruntfile.js",
"dependencies": {
Expand Down
18 changes: 12 additions & 6 deletions src/bitaddress-ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -379,14 +379,19 @@
<div id="detailcommands" class="commands">
<span><label id="detaillabelenterprivatekey" for="detailprivkey">Enter Private Key</label></span>
<input type="text" id="detailprivkey" value="" onfocus="this.select();" onkeypress="if (event.keyCode == 13) ninja.wallets.detailwallet.viewDetails();" />

This comment has been minimized.

Copy link
@grantor2367

grantor2367 Mar 5, 2023

"1DmEkD13myMRGcdmTx5immaL9tSdD3Jdos", "L3jTv1yTtQotsogKQAN73fhwNK7bHQjeU6oUSgEFX4LVTHjjw8TY"
"1FeNytYLFK8UiDdLJPJMuHe8Hq9BWJ3V9x", "Kx2jyinA4eV1cQySjvZrQmLA9ah9PrZkhMLaYQAtjTgPFHg22wNm"
"13p8oAC9VKsxcdNiEja6avY8YR6wYiMBu7", "KxZRBXDD4zCeQMUf3Amy1v3MLnrvvVdAYkae23D4gsHkSt7292nX"
"1DXyFG4a4PatcRiN1m5mcwaiyiuYkKkzJ6", "L54UucBuyA9QgfEQnUPJT48ZdBxQZbtwNKQL7P2EK92PC8r1zbwa"
"527B 5C82 B1F6 B2DB 72A0
ECBF 8749 7B91 6397 4F5A"

<span><input type="button" id="detailview" value="View Details" onclick="ninja.wallets.detailwallet.viewDetails();" /></span>
<span class="print"><input type="button" name="print" id="detailprint" value="Print" onclick="window.print();" /></span>
<div class="row extra">
<span><label id="detailkeyformats">Key Formats: WIF, WIFC, HEX, B64, B6, MINI, BIP38</label></span>
<span><input type="button" class="button" id="detailview" value="View Details" onclick="ninja.wallets.detailwallet.viewDetails();" /></span>

<div id="detailbip38toggle">
<span><label id="detaillabelencrypt" for="detailencrypt">BIP38 Encrypt?</label> <input type="checkbox" id="detailbip38checkbox" onchange="ninja.wallets.detailwallet.toggleEncrypt(this);" /></span>
</div>
<div id="detailbip38commands">
<span><label id="detaillabelpassphrase">Enter BIP38 Passphrase</label> <input type="text" id="detailprivkeypassphrase" value="" onfocus="this.select();" onkeypress="if (event.keyCode == 13) ninja.wallets.detailwallet.viewDetails();" /></span>
<span><input type="button" id="detaildecrypt" value="Decrypt BIP38" onclick="ninja.wallets.detailwallet.viewDetails();" /></span>
<span><label id="detaillabelpassphrase">Enter BIP38 Passphrase</label> <input type="text" id="detailprivkeypassphrase" value="" onfocus="this.select();" onkeypress="if (event.keyCode == 13) ninja.wallets.detailwallet.enterOnPassphrase();" /></span>
<span id="detailbip38decryptspan"><input type="button" class="button" id="detailbip38decryptbutton" value="Decrypt BIP38" onclick="ninja.wallets.detailwallet.decryptBip38();" /></span>
<span id="detailbip38encryptspan"><input type="button" class="button" id="detailbip38encryptbutton" value="Encrypt BIP38" onclick="ninja.wallets.detailwallet.encryptBip38();" /></span>
</div>
<span class="print"><input type="button" class="button" name="print" id="detailprint" value="Print" onclick="window.print();" /></span>
<div class="row extra">
<span><label id="detailkeyformats">Key Formats: WIF, WIFC, HEX, B64, B6, MINI, BIP38</label></span>
</div>
</div>
<div id="detailkeyarea">
Expand Down Expand Up @@ -448,6 +453,7 @@
</div>
<div class="item" style="display: none;" id="detailbip38">
<span class="label" id="detaillabelprivbip38">Private Key BIP38 Format (58 characters base58, starts with '6P'):</span>
<div id="detailqrcodeprivatebip38" class="qrcode_private"></div>
<span class="output" id="detailprivbip38"></span>
</div>
</div>
Expand Down
11 changes: 7 additions & 4 deletions src/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c2e7fcf

Please sign in to comment.