As seen in our guides to elliptic curve cryptography and how to create a Bitcoin Private key – a public key is in fact just coordinates on the Bitcoin curve calculated through multiplying the generator point by the private key number.
x coordinate= 7a633d546e723c3f41794549272f63617057382a227b6d393b35303d38
y coordinate= 44437a7439746e35565d3a27713c706423557e78444f4e767a22515724
These numbers are shown in Hexadecimal format, or 256 binary digits shown as 64 hexadecimal digits. If the number was shown in decimal format it would be 1077 figures long.
If you take these two coordinates and concatenate them i.e. join them end to end to make a 128 characters long string in Hexadecimal format, and then hash them whilst adding to the front a 1 (to indicate an address on the main network, if the address was for the testnet it would start with an m or an n).
Address=(Network Version) & Ripemd160(sha256(x&y) & checksum
There is also the checksum to add which is essentially a hash of the address of the hash of the address – this is to check that the address is what it is – to stop typos et al.
Checksum=First four bytes of sha256(sha256((Network Version)&Ripemd160(sha256(x&y))
The last step is to change the coding structure into a more readable format or Base58 in the case of Bitcoin. Base 58 is similar to base 64 but with a few characters removed. Base64 uses A-Z, a-z, 0-9, + and /.
Base 58 uses the same symbols but removes +,/,0,O, I and l. All the symbols that could be confused for each other are removed making the format readable. The end result is a Bitcoin address of between 27 and 34 characters long! Such as below.
Notice that this address begins with 1 meaning it is a Bitcoin main network address and also that the first three characters spell the word Bit – in other words this is a vanity address.
- What is a Bitcoin Private Key?
- What is Elliptic Curve Cryptography?
- How do digital signatures in Bitcoin work?
- What is a Bitcoin Fork?
- How does a hashing algorithm work?
- Bitcoin Transactions – Scriptsig and Scriptpubkey – locking and unlocking a transaction?
- How does the Bitcoin Network actually work?
- BIG2.WIN, an Easily Accessible Peer-to-Peer Crypto Gambling Platform
- DeFi Yield Protocol Liquidity Providers Earn $25,000 in ETH per Day Staking DYP
- Meet Savl, a One-Stop Peer-to-Peer Cryptocurrency Ecosystem
- How to Buy Bitcoin With PayPal
- Reasons to buy Bitcoin in 2020-2021
- Are Online Casinos Fully Acceptant of Cryptocurrency?
- NDAX Review - Buying Bitcoin in Canada
- DeFiChain DEX: A Truly Decentralized Exchange Has Just Launched
- A Blockchain Built for E-Commerce: Introducing the ABEY Blockchain and Token
- What Is Uniswap? Understanding the Largest Decentralized Exchange
This website is only provided for your general information and is not intended to be relied upon by you in making any investment decisions. You should always combine multiple sources of information and analysis before making an investment and seek independent expert financial advice.
Where we list or describe different products and services, we try to give you the information you need to help you compare them and choose the right product or service for you. We may also have tips and more information to help you compare providers.
Some providers pay us for advertisements or promotions on our website or in emails we may send you. Any commercial agreement we have in place with a provider does not affect how we describe them or their products and services. Sponsored companies are clearly labelled.