Bitcoin Forum
May 04, 2024, 09:52:40 AM *
News: Latest Bitcoin Core release: 27.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 433 times)
lukaexpl (OP)
Full Member
***
Offline Offline

Activity: 148
Merit: 106


View Profile
August 31, 2017, 06:01:27 PM
Merited by ABCbits (2)
 #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.
1714816360
Hero Member
*
Offline Offline

Posts: 1714816360

View Profile Personal Message (Offline)

Ignore
1714816360
Reply with quote  #2

1714816360
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
August 31, 2017, 06:07:23 PM
Merited by ABCbits (1)
 #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 (OP)
Full Member
***
Offline Offline

Activity: 148
Merit: 106


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!