Bitcoin Forum
December 14, 2017, 07:20:50 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How do I trust paper wallet generators to do correct BIP38 encryption?  (Read 305 times)
lukaexpl
Full Member
***
Offline Offline

Activity: 146


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?
1513236051
Hero Member
*
Offline Offline

Posts: 1513236051

View Profile Personal Message (Offline)

Ignore
1513236051
Reply with quote  #2

1513236051
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513236051
Hero Member
*
Offline Offline

Posts: 1513236051

View Profile Personal Message (Offline)

Ignore
1513236051
Reply with quote  #2

1513236051
Report to moderator
1513236051
Hero Member
*
Offline Offline

Posts: 1513236051

View Profile Personal Message (Offline)

Ignore
1513236051
Reply with quote  #2

1513236051
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1246


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


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: 146


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!