Trending Technology Machine Learning, Artificial Intelligent, Block Chain, IoT, DevOps, Data Science

Recent Post

Codecademy Code Foundations

Search This Blog

Bitcoin compressed and uncompressed addresses

Bitcoin (Un) Compresses Priv Pub Addresses

Bitcoin Private and Public Key

By now you should know that a randomly generated number is the private key and this key is used to calculate the public key which is a pair of integers (x,y)

There are 2 methods for using the private key to generate 2 different public keys and thus 2 different public addresses.

One method will generate a compresses public key (33 bytes) and the other an uncompressed public key (65 bytes).

Bitcoin Uncompressed Public Key

For Bitcoin uncompressed public keys the X and Y values, both 32 bytes long, are concatenated together, and then prepended with a single 0✕04 byte.

Bitcoin Compressed Public Key 

For Bitcoin compressed public keys a single 0✕02 or 0✕03 byte is prepended on the ✕ values. Which of these two single bytes is used depends on the Y value. Prepend 0✕02 if the Y value is even and 0✕03 if the Y value is odd. 

Bitcoin (Un) Compressed Public Addresses

Bitcoin uncompressed and compressed public keys result in different addresses, but they still come from the same private key.

Bitcoin (Un) Compressed Private Addresses

Usually a private key in WIF (Wallet Import Format) has different prefix to tell the wallet whether it should handle the key as one for a compress or an uncompressed address.

Bitcoin uncompressed private addresses begins with the character 5 and compresses private addresses begins with the character L or K.

Additional Information
  • If the compressed public address is needed the private key starts with K or L, if the uncompressed public address is needed the private key will start with 5.
  • Bitcoin clients can only receive coins on compressed addresses if they support compressed public keys in the first place.
  • The advantage of using compressed public keys is smaller transactions on the network and smaller blockchain sizes. A compressed public key has only 33 bytes instead of 65 bytes.
  • The standard Bitcoin client version 0.6 has introduced compressed keys.

Blockchain Council


  1. Being able to identify a suitable and good service based company is very important if the new business or existing business owner intends to hire its services to help enhance the site's potential. tranxit review

  2. A novel advantage of exchanging Forex signals is that it gives direction and order in a Forex money broker. Forex benefit signals specialist organizations send you alarms when the conditions are appropriate for the exchange.

  3. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. etoro

  4. Bitcoins are a decentralized form of crypto currency. Meaning, they are not regulated by a financial institution or the government.bitcoin faucets

  5. I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day! Btc chart

  6. Kinds websites in addition almost every a lot more stage will be entertaining in addition serviceable That appoints every person struck find retreat encore. My partner and i definitely can rapidly grasp kinds nourish to be in knowledgeable linked to just about any emails. rtx 3070

  7. Excellent website! I adore how it is easy on my eyes it is. I am questioning how I might be notified whenever a new post has been made. Looking for more new updates. Have a great day! hodl stock: what's the hodl stock price now

  8. Thank you for a fantastic in addition to informative write-up We genuinely value all the effort that went into the producing. have a peek at these guys

  9. Thank you so much for the post you do. I like your post and all you share with us is up to date and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. Bitcoin ATM near me

  10. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!. Bitcoin ATM

  11. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. Wealth creation

  12. I love the way you write and share your niche! Very interesting and different! Keep it coming! Okex invite code

  13. One of the drawbacks to this stage is that it isn't especially easy to use. Thus, amateurs are not prescribed to utilize this stage. AAX Referral Code

  14. Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing. Crypto ATM

  15. True crypto VoIP renders a VoIP call completely impermeable to third parties. paypal crypto

  16. Cryptocurrencies are more popular than ever before. Now, one impact is on the matters of divorce, and the financial assets involved. How are Bitcoin and mymonero app handled in divorce, and what do you need to know?

  17. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. innosilicon a10 pro

  18. A few theorists go for cryptocurrency since it is expanding in esteem.
    referral code of wazirx

  19. Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post! Website Lawyer


John Academy