Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: calkob on August 07, 2017, 01:32:36 PM



Title: Bitaddress private key begins with a 6
Post by: calkob on August 07, 2017, 01:32:36 PM
Hi i have a few encrypted bip38 private keys that i am able to sweep using breadwallet, however i know that my core wallet wont allow my to importprivkey in that format.  but now when i go to bitaddress to decrypt it is saying that the privkey is not valid,  anyone else experienced this or know how to sort it? 


Title: Re: Bitaddress private key begins with a 6
Post by: BrewMaster on August 07, 2017, 04:02:27 PM
when you encrypt a private key with BIP38 the result starts with a 6.
using the bitaddress.org you can simply decrypt these.

go to the last tab saying "wallet details" and type in your encrypted private key in the first field "Enter Private Key" and your password in the second "Enter BIP38 passphrase" (you may have to check the box for it to appear) and click Decrypt BIP38

here is some dummy data you can test it with:

Encrypted: 6PYSiFbYbcuk7WTexSxDc3msW5Wzu8J9LdksiG6qELpvft2jgKo5fqwCD4
passphrase: brew

you should see:
address: 1Mbqc6KXkkCuVp3nbBhNcQWYExJKjKHTSN
compressed private key: Kzfoo5ymAipAA6zJieDSKWJYNBHQkvxvkLpzarnWSqSaSWVZXJNa


if the dummy data worked but your data didn't then you are entering some chars wrong. double check things like (I <> l) or (O <> o <> 0)


Title: Re: Bitaddress private key begins with a 6
Post by: DannyHamilton on August 07, 2017, 04:18:08 PM
Hi i have a few encrypted bip38 private keys that i am able to sweep using breadwallet, however i know that my core wallet wont allow my to importprivkey in that format.  but now when i go to bitaddress to decrypt it is saying that the privkey is not valid,  anyone else experienced this or know how to sort it? 

You are almost certainly either missing one or more characters when you enter it, or are typing one or more wrong characters (or both).


Title: Re: Bitaddress private key begins with a 6
Post by: calkob on August 09, 2017, 08:22:59 PM
Thaks for tall the replies, much appreciated.

yep, i think i need new glasses  ::) Doh.  k Instead of K and i tried this 5 times....... i amaze myself sometimes lol  ;)