{"id":356,"date":"2024-02-04T17:08:54","date_gmt":"2024-02-04T08:08:54","guid":{"rendered":"https:\/\/www.sumitbilashjoshi.com\/?p=356"},"modified":"2024-02-04T18:31:27","modified_gmt":"2024-02-04T09:31:27","slug":"bitcoin-address","status":"publish","type":"post","link":"https:\/\/www.sumitbilashjoshi.com\/?p=356","title":{"rendered":"Bitcoin Address"},"content":{"rendered":"\n<p>The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">Bitcoin Address<\/mark> is basically a code or unique identifier that you can share with others to receive BTC. It is derived from the public key and its the address that others will see when they try to send you the BTC. It is completely safe to share your address to others. Its similar to the email address that we share with others to receive email from them. The bitcoin address is <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">27-34<\/mark> alphanumeric characters in length and is generated by the public key. When someone says they have Bitcoin, what they actually mean is they have the private key which proves the ownership of the public key which is the address in the blockchain that contains the record of amount of Bitcoin. Hence the expression, \u201c<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">Not your keys, not your coin<\/mark>\u201d.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\"><strong>Public Key Cryptography<\/strong><\/mark><\/p>\n\n\n\n<p>Bitcoin uses Public Key Cryptography(<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">PKC<\/mark>) technology to operate, which is being used from the 1980\u2019s, way before the creation of Bitcoin. There are various algorithms used for Public Key Cryptography according to its purpose. PKC is a kind of encrpytion where there is a pair of keys, private key and public key which are used in data encryption and decryption. The public key is the one which can be shared with others and the private key should be kept secret by the owner. PKC was first used primarily to encrypt and decrypt messages in traditional computing. Bitcoin uses this technology to encrypt and decrypt transactions. The use of PKC is to enable private communication secure using digital signatures in a public channel. PKC basically uses a one-way mathematical concept called a <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">Trapdoor<\/mark> function, which are mathematics problems that are easy to compute in one direction but almost impossible to reverse so that validating the authenticity is easy and forging transaction is imopssible.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"887\" height=\"422\" src=\"https:\/\/www.sumitbilashjoshi.com\/wp-content\/uploads\/2024\/02\/keys_encrypt.png\" alt=\"\" class=\"wp-image-357\" srcset=\"https:\/\/www.sumitbilashjoshi.com\/wp-content\/uploads\/2024\/02\/keys_encrypt.png 887w, https:\/\/www.sumitbilashjoshi.com\/wp-content\/uploads\/2024\/02\/keys_encrypt-300x143.png 300w, https:\/\/www.sumitbilashjoshi.com\/wp-content\/uploads\/2024\/02\/keys_encrypt-768x365.png 768w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/figure>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">Public Key<\/mark><\/p>\n\n\n\n<p>Public Key is a cryptographic code that is paired to its private key. As the name suggests, it is public and can be seen by anyone and anyone can send transactions to this key. But only the one with its private key can access the BTC in it and prove that he is the owner of the BTC. Bitcoin address is usually the hashed version of the public key. It can be compared to someones house address. Anyone can reach the house from its address, but only the owner with the keys can enter.<\/p>\n\n\n\n<p>In the image above, Sumit encrypted the message or transaction using Satoshi\u2019s public key and its only Satoshi that can decrypt the message as it can only be decrypted by Satoshi\u2019s private key.<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">Private Key<\/mark><\/p>\n\n\n\n<p>As oppose to the public key, private key is not what you share with everyone. It should be a secret and private to the owner as its name suggests. This is like the key to your house and only you should have the access to the key. The private key unlocks the access right for its owner to spend the BTC in his public key or bitcoin address. As stated earlier, you actually dont literally own the BTC itself. But you own the private key to access the address where the BTC is recorded. There is only one private key to your account which acts as your private password only you should know and have access to. This is the reason you should never, in any circumstances should share your private key with anyone. Private key is what gives you ability to prove ownership or spend BTC in your public address. This key is astronomically large number and is used to generate the public address. Any number of public addresses can be generated from the private key but generating private key from public key is practically impossible.<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">Signing Transaction or sending a BTC<\/mark><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"897\" height=\"425\" src=\"https:\/\/www.sumitbilashjoshi.com\/wp-content\/uploads\/2024\/02\/keys_verify.png\" alt=\"\" class=\"wp-image-358\" srcset=\"https:\/\/www.sumitbilashjoshi.com\/wp-content\/uploads\/2024\/02\/keys_verify.png 897w, https:\/\/www.sumitbilashjoshi.com\/wp-content\/uploads\/2024\/02\/keys_verify-300x142.png 300w, https:\/\/www.sumitbilashjoshi.com\/wp-content\/uploads\/2024\/02\/keys_verify-768x364.png 768w\" sizes=\"auto, (max-width: 897px) 100vw, 897px\" \/><\/figure>\n\n\n\n<p>Unlike banks and government, there is no need for trust in the third parties in Bitcoin network. In most cases, they are not trust worthy anyway. Bitcoin is called trustless system because there is no need of trust as the transaction can be verified. As in the image above, it can be verified using Sumit\u2019s public key that the transaction\/message being sent to Satoshi is actually true and unforged and actually signed by Sumit\u2019s private key.<\/p>\n\n\n\n<p>I highly recommend the book \u201c<a href=\"https:\/\/amzn.asia\/d\/cYZYqYg\" target=\"_blank\" rel=\"noopener\" title=\"\">Bitcoin: Hard Money you cant F*** with<\/a>\u201d if you want to learn more on why Bitcoin is a trustless system.<\/p>\n\n\n\n<p>When sending a BTC, a transaction is encrypted using a public key which is possible to get decrypted only by the accompanying private key. The transaction is actually digitally signed by the private key which then can be verified by the public key that the transaction hasn\u2019t been modified. This way you can digitally sign a transaction to prove that you are the actual owner of the fund. The nodes in Bitcoin Blockchain check and authenticate transactions automatically and the forged transactions are rejected by the network. Once the authenticated transaction are on the blockchain, it can\u2019t be reversed.<\/p>\n\n\n\n<p>Thank you for reading. Hope you enjoyed it. See you next time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Bitcoin Address is basically a code or unique identifier that you can share with others to receive BTC. It is derived from the public key and its the address that others will see when they try to send you the BTC. It is completely safe to share your address to others. Its similar to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":362,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[17],"tags":[8,18],"class_list":["post-356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-bitcoin","tag-technology"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=356"}],"version-history":[{"count":5,"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":367,"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=\/wp\/v2\/posts\/356\/revisions\/367"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=\/wp\/v2\/media\/362"}],"wp:attachment":[{"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sumitbilashjoshi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}