Bitcoin Forum
June 22, 2018, 01:32:11 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How do I trust paper wallet generators to do correct BIP38 encryption?  (Read 312 times)
lukaexpl
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
August 31, 2017, 06:01:27 PM
 #1

I compared results of the two sites

bitaddress.org
bitcoinpaperwallet.com

I generated a private key using bitaddress.org

The key is:

KyuXav8xGTtUwgZP4V4FAHxdp7ktkzEEudUWXj19v4kpvbGcdHvA

I then used both sites to encrypt the private key with bip38 passphrase: "numberone"

bitaddress.org is ready to print the following encrypted key:
6PYKHgxkMHgogDj168W3LULC56QmrhBtMk3HojmBVcbP3cZr4SttZbb7qw


and bitcoinpaperwallet.com is ready to print the following encrypted key:
6PRHytQcwdJBZhcYSsRBCv5USV21NA1LQjKMTqE3TSofmTxsF8UpYKBjLT

Both sites give the same public key:
15Nmh1S7nB3paLbTTLqu5gXyt2dj7cdCeH

NOW PLEASE POINT TO ME TO AN ELEPHANT IN THE ROOM THAT I AM MISSING OR IS THERE A HUGE PROBLEM?

How can I ever be confident that encrypted keys can be reversed back when I get such disparaging results?
1529674331
Hero Member
*
Offline Offline

Posts: 1529674331

View Profile Personal Message (Offline)

Ignore
1529674331
Reply with quote  #2

1529674331
Report to moderator
1529674331
Hero Member
*
Offline Offline

Posts: 1529674331

View Profile Personal Message (Offline)

Ignore
1529674331
Reply with quote  #2

1529674331
Report to moderator
Automated Bitcoin Fork Extraction Tool WE DO TOUGH WALLETS: BCH | BTG | BCD | SBTC | UBTC | B2X | BCX | BTF Electrum 2FA, Trezor, Ledger, SegWit, Bech32
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1442
Merit: 1352


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
August 31, 2017, 06:07:23 PM
 #2

bitaddress.org encrypted the private key without the compression flag byte while bitcoinpaperwallet.com encrypted the private key with the compression flag (or maybe vice versa, it's hard to tell). This means that technically the private keys correspond to different addresses, but bitaddress.org will show you both the compressed and uncompressed versions. If you use either of those encrypted private keys on either website, they both still work and will be properly decrypted.

lukaexpl
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
August 31, 2017, 06:09:49 PM
 #3

Asking the question has led me to an answer.

One has to click on "display compressed key formats" at bitcoinpaperwallet.com and then it spits out the same results.

Still very confusing and there isn't a good text available to read about all the key formats out there.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!