Bitcoin Forum
May 06, 2024, 08:14:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to view other versions of a private key?  (Read 594 times)
Gwapo (OP)
Full Member
***
Offline Offline

Activity: 234
Merit: 100


View Profile
April 19, 2016, 12:39:02 PM
 #1

I have started using Blockchain.info's new wallet service and after creating an account, I generated an address which has its private key starting from "C".



Now how can I view that key in a normal form; i,e: starting from "5"?

P.S. I tried bitaddress.org and it was showing a completely different address after I typed in that key on "view address details". This was because it overlooked that key as a passphrase not private key.
1714983245
Hero Member
*
Offline Offline

Posts: 1714983245

View Profile Personal Message (Offline)

Ignore
1714983245
Reply with quote  #2

1714983245
Report to moderator
1714983245
Hero Member
*
Offline Offline

Posts: 1714983245

View Profile Personal Message (Offline)

Ignore
1714983245
Reply with quote  #2

1714983245
Report to moderator
1714983245
Hero Member
*
Offline Offline

Posts: 1714983245

View Profile Personal Message (Offline)

Ignore
1714983245
Reply with quote  #2

1714983245
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
April 20, 2016, 06:36:09 AM
 #2

The displayed private key is probably raw hex. What you are looking for is wallet import format, which uses Bitcoin's base58 encoding plus a checksum:

https://en.bitcoin.it/wiki/Wallet_import_format

You can view a key in different formats after downloading the bitaddress html w scripts that run on your computer: https://github.com/pointbiz/bitaddress.org
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4616



View Profile
April 20, 2016, 01:28:55 PM
 #3

The displayed private key is probably raw hex.

I haven't looked at blockchain.info's new wallet service in a couple of days, but unless they've changed it very recently it's probably raw base58:

- snip -
Blockchain.info   in their infinite wisdom   has abandoned the more traditional representations of bitcoin private keys (such as WIF and HEX) and instead decided to display private keys as a base58 value with no version, checksum, or compression indicators.  I'm sure someone over there probably thought it would be a good idea, but I don't know why.

Therefore it seems that anyone running the latest blockchain.info web interface doesn't have access to the more traditional and multisystem-compatible formats.  I'm sure there will soon be several converters written to help people with this problem.

Of course "soon" will depend on how soon someone with the technical knowledge feels motivated to do so, and also depends on whether or not blockchain.info decides to abandon this folly and provide more traditional private key representations.
Gwapo (OP)
Full Member
***
Offline Offline

Activity: 234
Merit: 100


View Profile
April 20, 2016, 06:42:11 PM
 #4

Thanks for your information.
I have found a decoder - http://lenschulwitz.com/base58

Just entered the resulting hex format into bitaddress' wallet details and received the WIF key. Btw, that key starts with "L"  instead of "5". Does that mean they are  still generating older versions of bitcoin wallets before encoding it to base58?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
April 20, 2016, 06:55:37 PM
 #5

Thanks for your information.
I have found a decoder - http://lenschulwitz.com/base58

Just entered the resulting hex format into bitaddress' wallet details and received the WIF key. Btw, that key starts with "L"  instead of "5". Does that mean they are  still generating older versions of bitcoin wallets before encoding it to base58?
No, it does not. WIF private keys can start with 5, K, or L. The K and L indicate that the key is compressed, the 5 means it is uncompressed.

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!