Bitcoin Forum
May 10, 2024, 01:17:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to use BIP38 to encrypt a pre-determined private key?  (Read 1229 times)
chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
November 26, 2013, 01:37:53 AM
 #1

Sorry if this has been discussed previously, I couldn't find it.

I downloaded Mike Caldwell's Bitcoin utility... but I can't figure out how to input a private key and then encrypt it according the BIP38 protocol. Does anyone here know how to do this?

-Chris
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715303822
Hero Member
*
Offline Offline

Posts: 1715303822

View Profile Personal Message (Offline)

Ignore
1715303822
Reply with quote  #2

1715303822
Report to moderator
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
November 26, 2013, 08:13:56 AM
 #2

I downloaded Mike Caldwell's Bitcoin utility... but I can't figure out how to input a private key and then encrypt it according the BIP38 protocol. Does anyone here know how to do this?

You can use http://bit2factor.org or pybrainwallet.
chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
November 26, 2013, 04:38:22 PM
 #3

Aha! Perfectomungo!
agent13
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
November 27, 2013, 02:28:38 AM
 #4



bit2factor.org looks interesting for encrypting prior keys. Is it considered safe and who wrote it? There is a random element to the BIP38 process, so the output is always different.
chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
November 27, 2013, 04:11:25 AM
 #5

The output is always the same if you supply a private key. I tested it.
agent13
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
November 27, 2013, 06:26:29 AM
 #6

The output is always the same if you supply a private key. I tested it.

Enter the same private key and passphrase into bitaddress and bit2factor. You will get a different result, but they both produce the same unencrypted result.

chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
November 27, 2013, 10:42:12 AM
 #7

The output is always the same if you supply a private key. I tested it.

Enter the same private key and passphrase into bitaddress and bit2factor. You will get a different result, but they both produce the same unencrypted result.



Ah, OK. I meant that I got the same result on bit2factor when I hit "generate" repeatedly with the same private key and passphrase. Thanks for clarifying, good to know.
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!