Bitcoin Forum
November 17, 2018, 10:53:03 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I trust paper wallet generators to do correct BIP38 encryption?  (Read 320 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?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542495183
Hero Member
*
Offline Offline

Posts: 1542495183

View Profile Personal Message (Offline)

Ignore
1542495183
Reply with quote  #2

1542495183
Report to moderator
1542495183
Hero Member
*
Offline Offline

Posts: 1542495183

View Profile Personal Message (Offline)

Ignore
1542495183
Reply with quote  #2

1542495183
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1582
Merit: 1751


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


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!