{"id":2928,"date":"2019-05-10T12:40:53","date_gmt":"2019-05-10T07:10:53","guid":{"rendered":"https:\/\/bitcoinik.com\/?st-import=18a05e0e8659687bd2393fa316c5da0b"},"modified":"2019-05-10T12:40:53","modified_gmt":"2019-05-10T07:10:53","slug":"what-is-public-key-cryptography","status":"publish","type":"post","link":"https:\/\/bitcoinik.com\/?p=2928","title":{"rendered":"What is Public Key Cryptography?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_91 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/bitcoinik.com\/?p=2928\/#What_is_Public_Key_Cryptography\" >What is Public Key Cryptography?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/bitcoinik.com\/?p=2928\/#How_Public_Key_Cryptography_Work\" >How Public Key Cryptography Work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/bitcoinik.com\/?p=2928\/#Applications_of_Public_Key_Cryptography\" >Applications of Public Key Cryptography<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/bitcoinik.com\/?p=2928\/#Also_Read_the_following_topics\" >Also Read the following topics:<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Public_Key_Cryptography\"><\/span>What is Public Key Cryptography?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Public key cryptography or asymmetric cryptography is an encryption technique that used two pairs of keys that are named as a public key and a private key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In public key cryptography (PKC), the public key is used to encrypt the message and it can only decrypt by the private key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Public key cryptography (PKC) is more robust and can not be breakthrough by any third party security breach attempts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PKC enables the confidentiality, data integrity, authentication and non-repudiation for secure communication.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_Public_Key_Cryptography_Work\"><\/span>How Public Key Cryptography Work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As public key cryptography works on the basis of two key pairs which are named as the public key and private key. These key pairs are formed in such a way that the private key can never be obtained from the public key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, the public key is known to everyone, so the sender can encrypt the message by using the receiver&#8217;s public key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But the private key is only known to the receiver who can use it to decrypt the message of the sender. This means the third parties can never obtain the original message even after they got the encrypted message of the sender because they do not have any access to the private key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> <br>&nbsp;<strong>RSA<\/strong> (Rivest-Shamir-Adleman) is the most commonly used algorithm for generating key pairs in public key cryptography.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Generally, RSA mathematically generates two key pairs where one is the private key which is kept secret by the owner and another one is the public key which can be shared to anyone.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Applications_of_Public_Key_Cryptography\"><\/span>Applications of Public Key Cryptography<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li> <strong>Confidentiality<\/strong>: As the message encrypted with the public key and can only be decrypted with the receiver&#8217;s private key which is only known to the receiver that makes it impossible for others to view the original message.<\/li><li> <strong>Authentication<\/strong>: Every individual has its own unique private key by which the message is signed. It can be proved easily that the message belongs to the original sender or not.<\/li><li> <strong>Non-repudiation<\/strong>: Everyone has their unique and separate private key used for signature so someone can&#8217;t say later that the signature was not applied by him.<\/li><li> <strong>Digital signatures<\/strong>: As the message is signed by the individual&#8217;s private key so it can be verified by the public key of him.<\/li><li> <strong>Encryption<\/strong>: As the message is encrypted with someone&#8217;s public key so only that person can decrypt the message using his\/her private key.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Also_Read_the_following_topics\"><\/span>Also Read the following topics:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"http:\/\/bitcoinik.com\/cryptography-simply-explained\/\">Cryptography Simply Explained<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" target=\"_blank\" href=\"http:\/\/bitcoinik.com\/what-is-bitcoin-all-you-need-to-know-about-bitcoin\/\">What is Bitcoin? All you need to know about Bitcoin<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" target=\"_blank\" href=\"http:\/\/bitcoinik.com\/what-is-cryptocurrency-mining-is-bitcoin-mining-profitable\/\">What is Cryptocurrency Mining? Is Bitcoin Mining Profitable?<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" target=\"_blank\" href=\"http:\/\/bitcoinik.com\/what-is-hard-fork-in-cryptocurrency\/\">What is Hard Fork in Cryptocurrency?<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a target=\"_blank\" href=\"http:\/\/bitcoinik.com\/what-is-a-multisig-wallet\/\" rel=\"noreferrer noopener\">What Is a Multisig Wallet?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Public key cryptography or asymmetric cryptography is an encryption technique which used two pairs of keys that are named as a public key and a private key.<\/p>\n","protected":false},"author":1,"featured_media":2984,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17,19,42],"tags":[],"class_list":["post-2928","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain","category-crypto-education","category-security"],"acf":[],"jetpack_featured_media_url":"https:\/\/bitcoinik.com\/wp-content\/uploads\/2019\/05\/Public-Key-vs-Private-key-Crypto-Heroes-820x430-1-1.jpg","_links":{"self":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/posts\/2928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2928"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/posts\/2928\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/media\/2984"}],"wp:attachment":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}