{"id":2893,"date":"2019-05-07T13:11:53","date_gmt":"2019-05-07T07:41:53","guid":{"rendered":"https:\/\/bitcoinik.com\/?st-import=95928c33b9f5f8a4b3491f6a9a330174"},"modified":"2019-05-07T13:11:53","modified_gmt":"2019-05-07T07:41:53","slug":"cryptography-simply-explained","status":"publish","type":"post","link":"https:\/\/bitcoinik.com\/?p=2893","title":{"rendered":"Cryptography Simply Explained"},"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=2893\/#What_is_Cryptography\" >What is 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=2893\/#Types_of_Cryptography\" >Types of Cryptography<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#1_Symmetric_Key_Cryptography\" >1. Symmetric Key Cryptography<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#2_Asymmetric_Key_Cryptography\" >2. Asymmetric Key Cryptography<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#3_Hashing\" >3. Hashing<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#4_Functions_of_Cryptography\" >4 Functions of Cryptography<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#1_Authentication\" >1. Authentication<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#2_Confidentiality\" >2. Confidentiality<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#3Integrity\" >3.Integrity<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#4_Non-repudiation\" >4. Non-repudiation<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/bitcoinik.com\/?p=2893\/#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_Cryptography\"><\/span>What is Cryptography?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cryptography is the art of secret writing by encrypting sensitive information using codes and algorithms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The main goal of cryptography is to make sensitive data not readable by third parties. Only the sender and receiver can read or understand that data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In cryptography, <em><strong>crypt<\/strong><\/em> means &#8220;<em>hidden<\/em>&#8221; and <em><strong>graphy<\/strong><\/em> stands for &#8220;<em>writing<\/em>&#8221; which shows the<strong> cryptography<\/strong> meaning as <em>hidden writing<\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Types_of_Cryptography\"><\/span>Types of Cryptography<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/bitcoinik.com\/wp-content\/uploads\/2019\/05\/crypt-graphy-1024x642.jpg\" alt=\"Cryptography types\" class=\"wp-image-2899\"\/><figcaption>Cryptography types<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Symmetric_Key_Cryptography\"><\/span>1. Symmetric Key Cryptography<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"> In symmetric key cryptography, There is only one <strong>secret key<\/strong> is used for encryption and decryption of the message.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By using this secret key the algorithms convert the original message into the fixed length of bits known as a <strong>block cipher.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The same secret key which is used by the sender to encrypt the message is transferred to the receiver through a secure channel, then after receiving the secret key successfully, the receiver can decrypt the message by using this secret key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It gives rise to the key distribution problem due to sender has to send the secret key to the receiver through the secure channel.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Asymmetric_Key_Cryptography\"><\/span>2. Asymmetric Key Cryptography<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In A<a href=\"http:\/\/bitcoinik.com\/what-is-public-key-cryptography\/\">symmetric key cryptography<\/a>, there are two different keys used for encryption and decryption of the message.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These two different keys are named as the public key and the private key. Here the public key is known to everyone but the private key is only owned by the receiver.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The public key is used to encrypt the message by the sender and the private key is used to decrypt the message which is only owned by the receiver. So no other person can decrypt that message, not even the sender.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This type of cryptography is widely used in the <a rel=\"noreferrer noopener\" aria-label=\"cryptocurrency (opens in a new tab)\" href=\"http:\/\/bitcoinik.com\/what-is-cryptocurrency\/\" target=\"_blank\">cryptocurrency<\/a> world and even <a rel=\"noreferrer noopener\" aria-label=\"bitcoin (opens in a new tab)\" href=\"http:\/\/bitcoinik.com\/what-is-bitcoin-all-you-need-to-know-about-bitcoin\/\" target=\"_blank\">bitcoin<\/a> concept has used this type of cryptography technique. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is used in the transmission of email files, social media communication, in the remote server connections and the &#8220;<strong>https<\/strong>&#8221; protocol used it to secure information on web communication.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Hashing\"><\/span>3. Hashing<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Hashing is the one-way encryption where no secret key is used as no need for decryption.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Usually, hashing used the hash function which changed the original message into a random unreadable text string of fixed length known as a <strong>hash<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This text string of fixed length can be used to check the validity of the message that it was tampered or not by eves.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is no way to obtain the original message from the hash string.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This technique is used in the <a href=\"http:\/\/bitcoinik.com\/what-is-blockchain-how-does-blockchain-work\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"blockchain technology (opens in a new tab)\">blockchain technology<\/a> as it helps to check the validity of the whole blockchain which can be verified just by comparing the single hash to the peers on the network and no need to verify the whole data of blockchain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Functions_of_Cryptography\"><\/span>4 Functions of Cryptography<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Modern cryptography is implemented by using the four primary cryptographic functions: <\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Authentication\"><\/span> 1. Authentication<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The Receiver can confirm the validity of the message that it was created by the original sender and not tampered with.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is like a sender sends a message by encrypting it with his private key and the receiver can confirm that message by decrypting the message with the sender&#8217;s public key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example- The <strong>SSL certificate<\/strong> (&#8216;https&#8217;) of the web server validates the proof of the connection of the user to the right server.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Confidentiality\"><\/span>2. Confidentiality<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Third parties are not able to access or understand the original information or data due to the strong encryption of cryptography.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your information or data is secured even after it leaked to the other people.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3Integrity\"><\/span>3.Integrity<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">It must be ensured that data is not tampered or altered by eves during transmission or storage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cryptography Hashing technique is used for the data integrity check where the hash is used to ensure safe storage or transmission.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Non-repudiation\"><\/span>4. Non-repudiation<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The owner or sender of information has no way to deny the ownership of that information.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The sender can never be denied that the message or data not created by him.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Like, someone promised to pay later for a product and will deny in the future that he\/she didn&#8217;t promise anything. In this situation, if cryptography is used then he\/she could never be denied his promise as the transaction was signed by him cryptographically.<\/p>\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\/how-to-earn-bitcoin\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"How to earn Bitcoin free? (opens in a new tab)\">How to earn Bitcoin free?<\/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 href=\"http:\/\/bitcoinik.com\/what-is-blockchain-how-does-blockchain-work\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"What is Blockchain? How does a Blockchain Work? (opens in a new tab)\">What is Blockchain? How does a Blockchain Work?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cryptography is the art of secret writing by encrypting sensitive information using codes and algorithms.<\/p>\n","protected":false},"author":1,"featured_media":2926,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[19,42],"tags":[],"class_list":["post-2893","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-crypto-education","category-security"],"acf":[],"jetpack_featured_media_url":"https:\/\/bitcoinik.com\/wp-content\/uploads\/2019\/05\/what-is-cryptography-1.jpg","_links":{"self":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/posts\/2893","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=2893"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/posts\/2893\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/media\/2926"}],"wp:attachment":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}