{"id":1459,"date":"2020-05-20T09:39:05","date_gmt":"2020-05-20T04:09:05","guid":{"rendered":"https:\/\/binaryterms.com\/?p=1459"},"modified":"2021-01-18T11:28:45","modified_gmt":"2021-01-18T05:58:45","slug":"rsa-algorithm-in-cryptography","status":"publish","type":"post","link":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html","title":{"rendered":"RSA Algorithm in Cryptography"},"content":{"rendered":"<p><strong>RSA<\/strong> is a first successful <strong>public key cryptographic algorithm. <\/strong>It is also known as an<strong> asymmetric cryptographic algorithm <\/strong>because <strong>two different keys<\/strong> are used for encryption and decryption. RSA is named after <strong>Rivest, Shamir and Adleman<\/strong> the three inventors of RSA algorithm. The algorithm was introduced in the year 1978.<\/p>\n<p>In this section, we will discuss, RSA algorithm along with an example. We will also study the reason for the evolution of the RSA algorithm along with its advantages and disadvantages.<\/p>\n<h2>Content: RSA Algorithm in Cryptography<\/h2>\n<ol>\n<li><a href=\"#WhatisRSAAlgorithm?\">What is RSA Algorithm?<\/a><\/li>\n<li><a href=\"#KeyGeneration\">Key Generation<\/a><\/li>\n<li><a href=\"#RSAEncryption\">RSA Encryption<\/a><\/li>\n<li><a href=\"#RSADecryption\">RSA Decryption<\/a><\/li>\n<li><a href=\"#AdvantagesandDisadvantages\">Advantages and Disadvantages<\/a><\/li>\n<li><a href=\"#KeyTakeaways\">Key Takeaways<\/a><\/li>\n<\/ol>\n<p><a name=\"WhatisRSAAlgorithm?\"><\/a><\/p>\n<h3>What is RSA Algorithm?<\/h3>\n<p>RSA is a <strong>public key<\/strong> cryptographic algorithm in which two different keys are used to encrypt and decrypt the message. That\u2019s why it is also called an <strong>asymmetric<\/strong> key algorithm.<\/p>\n<p>But what was the need of this asymmetric key cryptography? Why it evolved? Let us discuss the reason behind the evolution of asymmetric key cryptography. The Asymmetric key cryptography evolves due to the <strong>two problems<\/strong> of <strong>symmetric key cryptography<\/strong>.<\/p>\n<p>The <strong>first problem<\/strong> with symmetric key cryptography is the key distribution. The two communicating parties may already be sharing the key which has been distributed to them by any means or the key must be shared with the help of a <strong>key distribution centre<\/strong>. But, using of key distribution centre compromises the secrecy of the key which hampers <strong>confidentiality<\/strong> of the message.<\/p>\n<p>The <strong>second problem<\/strong> with symmetric key cryptography is <strong>digital signatures<\/strong>. That is, there was a requirement of digital signatures which would assure all the parties that message has been sent from a particular individual. So, there was a lack of <strong>authentication<\/strong>.<\/p>\n<p>Both of these problems of symmetric key cryptography lead to the evolution of asymmetric key cryptography. In the year 1978 the three inventors at MIT; Rivest, Shamir and Adleman introduced RSA public key algorithm which follows the essential steps below:<\/p>\n<ul>\n<li>In RSA public key cryptography each user has to generate two keys a <strong>private key<\/strong> and a<strong> public key.<\/strong><\/li>\n<li>The public key is circulated or published to all and hence others are aware of it whereas, the private key is secretly kept with the user only.<\/li>\n<li>A sender has to encrypt the message using the intended receivers public key.<\/li>\n<li>Only the intended receiver can crack the message. In between the communication no one can harm to the confidentiality of the message as the message can only be decrypted by the intended receiver\u2019s private key which is only known to that receiver.<\/li>\n<\/ul>\n<p style=\"text-align: center\"><strong>M\u2019= E(PU<sub>r<\/sub>, M) \u2026\u2026\u2026..Encryption<\/strong><\/p>\n<p style=\"text-align: center\"><strong>M = D(PR<sub>r<\/sub>, M\u2019) \u2026\u2026\u2026..Decryption<\/strong><\/p>\n<p style=\"text-align: center\"><strong>M<\/strong> <em>is the original message<\/em><br \/>\n<strong>M\u2019<\/strong><em> is encrypted message<\/em><br \/>\n<strong>E<\/strong> <em>is an encryption algorithm<\/em><br \/>\n<strong>D<\/strong><em> is a decryption algorithm<\/em><br \/>\n<strong>PU<sub>r <\/sub><\/strong><em>is the receivers public key<\/em><br \/>\n<strong>PR<sub>r<\/sub><\/strong><em> is the receivers private key<\/em><br \/>\n<strong>PU<sub>s <\/sub><\/strong><em>is the senders public key<\/em><br \/>\n<strong>PR<sub>s<\/sub><\/strong><em> is the senders private key<\/em><\/p>\n<p>The two problems of symmetric key cryptography i.e. confidentiality and authentication can be overcome by the double use of public key cryptography.<\/p>\n<p>1.<strong> First<\/strong>, encrypt the message by the <strong>sender\u2019s private key<\/strong> which can be decrypted by the sender\u2019s public key(known to all). This provides a digital signature to the sender\u2019s message and thus <strong>authentication<\/strong> is achieved.<\/p>\n<p style=\"text-align: center\"><strong>E(PR<sub>s<\/sub>, M)<\/strong><\/p>\n<p>2. In the <strong>next step<\/strong>, encrypt again with the <strong>receiver\u2019s public key<\/strong>. This will allow only the intended receiver to decrypt the message, this provides the <strong>confidentiality<\/strong> to the message.<\/p>\n<p style=\"text-align: center\"><strong>M\u2019= E(PU<sub>r<\/sub>, E(PR<sub>s<\/sub>, M)<\/strong><\/p>\n<p style=\"text-align: left\">The Decryption is shown by the following expression:<\/p>\n<p style=\"text-align: center\"><strong>M= D(PU<sub>s<\/sub>, E(PR<sub>r<\/sub>, M\u2019)<\/strong><\/p>\n<p><a name=\"KeyGeneration\"><\/a><\/p>\n<h3>Key Generation<\/h3>\n<p>Till now we have seen that every sender or a receiver must have <strong>two keys<\/strong> a <strong>public key<\/strong> and a <strong>private key<\/strong>. In this section, we will discuss the steps to derive a public and a private key.<\/p>\n<p>In RSA, the encryption and decryption expressions are in the exponential form:<\/p>\n<p style=\"text-align: center\"><strong>M\u2019= M<sup>e<\/sup> mod n\u00a0 \u2026\u2026\u2026\u2026. Encryption, Public key (e, n)<\/strong><\/p>\n<p style=\"text-align: center\"><strong>M= M\u2019<sup>d<\/sup> mod n\u00a0 \u2026\u2026\u2026\u2026. Decryption, Private key (d, n)<\/strong><\/p>\n<p>Steps to generate <strong>public key <\/strong>(e, n) &amp; <strong>private key<\/strong> (d, n)<\/p>\n<ol>\n<li>First, select two prime numbers p=7 and q=11.<\/li>\n<li>Now calculate n= p X q = 7 X 11<br \/>\n<strong>n = 77<\/strong><\/li>\n<li>Calculate \u00d8(n)= \u00d8(pXq)<br \/>\n= \u00d8(p) X \u00d8(q)<br \/>\n= (p-1) X (q-1) \u2026\u2026. \u00d8 (a) = (a-1) if <strong>a<\/strong> is a prime number.<br \/>\n=(7-1) X (11-1)<br \/>\n= 6X10<br \/>\n<strong>\u00d8(n) = 60<\/strong><\/li>\n<li>Select e such that <strong>1 \u2264 e &lt; \u00d8(n)<\/strong> and also \u2018e\u2019 should be <strong>coprime<\/strong> to \u00d8(n).<br \/>\nSo, I select <strong>e=7.<br \/>\n<\/strong>Our <strong>Public Key <\/strong>for this particular example is <strong>(7,77)<\/strong>.<\/li>\n<\/ol>\n<ol start=\"5\">\n<li>Now we will determine the value of <strong>d<\/strong>. The value of d can be calculated from the formula given below:<\/li>\n<\/ol>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1466\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg\" alt=\"RSA d\" width=\"195\" height=\"30\" \/><\/p>\n<p>In the expression above we know that and e and \u00d8(n) are the coprime numbers so in this case d is the multiplicative inverse of e. To calculate the value of d use the formula below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1461\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-1.jpg\" alt=\"RSA 1\" width=\"196\" height=\"67\" \/><\/p>\n<p>In this equation above we know the value of \u00d8(n), e, the value of i is unknown. First, we have to put the value of i=1.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1462\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-2.jpg\" alt=\"RSA 2\" width=\"197\" height=\"63\" \/><\/p>\n<p>If the result is in decimals then we have to compute the equation again but this time we have to increment the value of i by 1 so we will compute the equation with i=2. Keep on incrementing the value of i till the above equation results in a proper integer.<\/p>\n<p>So, by trial and error method, for i=5 we get the result 43 i.e.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1463\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-3.jpg\" alt=\"RSA 3\" width=\"196\" height=\"107\" \/><\/p>\n<p>Now we have generated both the private and public key.<\/p>\n<p style=\"text-align: center\"><strong>Private Key (43, 77)<\/strong><br \/>\n<strong>Public Key (7, 77)<\/strong><\/p>\n<p><a name=\"RSAEncryption\"><\/a><\/p>\n<h3>RSA Encryption<\/h3>\n<p>Now, after generating the private and public key we will now encrypt the message. In RSA the plain text is always encrypted in <strong>blocks.<\/strong> The <strong>binary value<\/strong> of each plain text block should be<strong> &lt;n<\/strong>. Encryption is done with the intended receiver&#8217;s <strong>public key<\/strong>. The expression to calculate cipher text is as follow:<\/p>\n<p style=\"text-align: center\"><strong>M\u2019= M<sup>e<\/sup> mod n<\/strong><\/p>\n<p>In our example, the value of e=7 and n=77 i.e. public key (e, n) and we have to take the value of M such that <strong>M&lt;n<\/strong>. We will take the value of M=15. So, the expression becomes<\/p>\n<p style=\"text-align: center\"><strong>M\u2019= 15<sup>7 <\/sup>mod 77<\/strong><\/p>\n<p style=\"text-align: center\"><strong>M\u2019= [ (15<sup>4 <\/sup>mod 77)*(15<sup>2 <\/sup>mod 77)*<\/strong><br \/>\n<strong>( 15<sup>1 <\/sup>mod 77) ]mod77<\/strong><\/p>\n<p style=\"text-align: center\"><strong>M\u2019= [(36)*(71)*(15)] mod77<\/strong><\/p>\n<p style=\"text-align: center\"><strong>M\u2019=71 \u2026\u2026\u2026 Cipher Text<\/strong><\/p>\n<p><a name=\"RSADecryption\"><\/a><\/p>\n<h3>RSA Decryption<\/h3>\n<p>Done with the encryption now its time to decrypt the message. For decryption in RSA, we require a cipher text and the private key of the corresponding public key used in encryption.<\/p>\n<p>In our example the cipher text we have M\u2019=71 and the private key we have (43, 77). The expression to calculate plain text is as follow:<\/p>\n<p style=\"text-align: center\"><strong>M= M\u2019<sup>d<\/sup> mod n<\/strong><\/p>\n<p style=\"text-align: center\"><strong>M= 71<sup>43<\/sup> mod 77<\/strong><\/p>\n<p style=\"text-align: center\"><strong>M= 15<\/strong><\/p>\n<p>So, this is the method to encrypt and decrypt the message in RSA. It is very important to remember that in RSA we have to encrypt the message using the intended receiver&#8217;s public key. So, the message can only be decrypted by the intended receiver private key. This provides <strong>confidentiality<\/strong> to our message.<br \/>\n<a name=\"AdvantagesandDisadvantages\"><\/a><\/p>\n<h3>Advantages and Disadvantages<\/h3>\n<p><strong>Advantage<\/strong><\/p>\n<ol>\n<li>RSA is stronger than any other symmetric key algorithm.<\/li>\n<li>RSA has overcome the weakness of symmetric algorithm i.e. authenticity and confidentiality.<\/li>\n<\/ol>\n<p><strong>Disadvantage<\/strong><\/p>\n<ol>\n<li>RSA has too much computation.<\/li>\n<\/ol>\n<p><a name=\"KeyTakeaways\"><\/a><\/p>\n<h3>Key Takeaways<\/h3>\n<div id=\"keytake\">\n<ul>\n<li>RSA is a <strong>public key<\/strong> or <strong>asymmetric key algorithm<\/strong>.<\/li>\n<li>RSA stands for <strong>Rivest, Shamir and Adleman<\/strong> the three inventors of RSA algorithm.<\/li>\n<li>Each user has to generate <strong>two keys<\/strong> public key known to all and private key only known to him.<\/li>\n<li>Encryption is done using the<strong> public key <\/strong>of the <strong>intended receiver<\/strong>.<\/li>\n<li>A receiver cracks the message using its <strong>private key.<\/strong><\/li>\n<li>Encrypting the message using receivers public key assures <strong>confidentially<\/strong> of the message as no third party would be able to crack the message because the message can only be decrypted by using receivers private key which is only known to him.<\/li>\n<li>Using the double public key scheme, we can also achieve <strong>authenticity<\/strong>.<\/li>\n<\/ul>\n<\/div>\n<p>So, this is all about the RSA algorithm. So far, we have discussed the methods of generating a public key and a private key. We have also studied encryption and decryption in RSA using these keys.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RSA is a first successful public key cryptographic algorithm. It is also known as an asymmetric cryptographic algorithm because two different keys are used for encryption and decryption. RSA is named after Rivest, Shamir and Adleman the three inventors of RSA algorithm. The algorithm was introduced in the year 1978. In this section, we will [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[9],"tags":[],"class_list":{"0":"post-1459","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-security","7":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is RSA Algorithm in Cryptography? Key Generation, Encryption, Decryption, Advantages &amp; Disadvantages - Binary Terms<\/title>\n<meta name=\"description\" content=\"RSA is a first successful public key cryptographic algorithm or it is also known as an asymmetric cryptographic algorithm. The asymmetric cryptographic algorithm means two different keys are used for encryption and decryption.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is RSA Algorithm in Cryptography? Key Generation, Encryption, Decryption, Advantages &amp; Disadvantages - Binary Terms\" \/>\n<meta property=\"og:description\" content=\"RSA is a first successful public key cryptographic algorithm or it is also known as an asymmetric cryptographic algorithm. The asymmetric cryptographic algorithm means two different keys are used for encryption and decryption.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html\" \/>\n<meta property=\"og:site_name\" content=\"Binary Terms\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-20T04:09:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-18T05:58:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg\" \/>\n<meta name=\"author\" content=\"Neha T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Neha T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html\"},\"author\":{\"name\":\"Neha T\",\"@id\":\"https:\/\/binaryterms.com\/#\/schema\/person\/e495f1d57f5c0a4c521cc3dba95661fe\"},\"headline\":\"RSA Algorithm in Cryptography\",\"datePublished\":\"2020-05-20T04:09:05+00:00\",\"dateModified\":\"2021-01-18T05:58:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html\"},\"wordCount\":1313,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/binaryterms.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg\",\"articleSection\":[\"Security\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html\",\"url\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html\",\"name\":\"What is RSA Algorithm in Cryptography? Key Generation, Encryption, Decryption, Advantages & Disadvantages - Binary Terms\",\"isPartOf\":{\"@id\":\"https:\/\/binaryterms.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#primaryimage\"},\"image\":{\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg\",\"datePublished\":\"2020-05-20T04:09:05+00:00\",\"dateModified\":\"2021-01-18T05:58:45+00:00\",\"description\":\"RSA is a first successful public key cryptographic algorithm or it is also known as an asymmetric cryptographic algorithm. The asymmetric cryptographic algorithm means two different keys are used for encryption and decryption.\",\"breadcrumb\":{\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#primaryimage\",\"url\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg\",\"contentUrl\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg\",\"width\":195,\"height\":30,\"caption\":\"RSA d\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/binaryterms.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RSA Algorithm in Cryptography\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/binaryterms.com\/#website\",\"url\":\"https:\/\/binaryterms.com\/\",\"name\":\"Binary Terms\",\"description\":\"The Computer Science &amp; IT Guide\",\"publisher\":{\"@id\":\"https:\/\/binaryterms.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/binaryterms.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/binaryterms.com\/#organization\",\"name\":\"Binary Terms\",\"url\":\"https:\/\/binaryterms.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/binaryterms.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/binary-terms-logo1.png\",\"contentUrl\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/binary-terms-logo1.png\",\"width\":400,\"height\":63,\"caption\":\"Binary Terms\"},\"image\":{\"@id\":\"https:\/\/binaryterms.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/binaryterms.com\/#\/schema\/person\/e495f1d57f5c0a4c521cc3dba95661fe\",\"name\":\"Neha T\",\"url\":\"https:\/\/binaryterms.com\/author\/author\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is RSA Algorithm in Cryptography? Key Generation, Encryption, Decryption, Advantages & Disadvantages - Binary Terms","description":"RSA is a first successful public key cryptographic algorithm or it is also known as an asymmetric cryptographic algorithm. The asymmetric cryptographic algorithm means two different keys are used for encryption and decryption.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html","og_locale":"en_GB","og_type":"article","og_title":"What is RSA Algorithm in Cryptography? Key Generation, Encryption, Decryption, Advantages & Disadvantages - Binary Terms","og_description":"RSA is a first successful public key cryptographic algorithm or it is also known as an asymmetric cryptographic algorithm. The asymmetric cryptographic algorithm means two different keys are used for encryption and decryption.","og_url":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html","og_site_name":"Binary Terms","article_published_time":"2020-05-20T04:09:05+00:00","article_modified_time":"2021-01-18T05:58:45+00:00","og_image":[{"url":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg","type":"","width":"","height":""}],"author":"Neha T","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Neha T","Estimated reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#article","isPartOf":{"@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html"},"author":{"name":"Neha T","@id":"https:\/\/binaryterms.com\/#\/schema\/person\/e495f1d57f5c0a4c521cc3dba95661fe"},"headline":"RSA Algorithm in Cryptography","datePublished":"2020-05-20T04:09:05+00:00","dateModified":"2021-01-18T05:58:45+00:00","mainEntityOfPage":{"@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html"},"wordCount":1313,"commentCount":2,"publisher":{"@id":"https:\/\/binaryterms.com\/#organization"},"image":{"@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#primaryimage"},"thumbnailUrl":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg","articleSection":["Security"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html","url":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html","name":"What is RSA Algorithm in Cryptography? Key Generation, Encryption, Decryption, Advantages & Disadvantages - Binary Terms","isPartOf":{"@id":"https:\/\/binaryterms.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#primaryimage"},"image":{"@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#primaryimage"},"thumbnailUrl":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg","datePublished":"2020-05-20T04:09:05+00:00","dateModified":"2021-01-18T05:58:45+00:00","description":"RSA is a first successful public key cryptographic algorithm or it is also known as an asymmetric cryptographic algorithm. The asymmetric cryptographic algorithm means two different keys are used for encryption and decryption.","breadcrumb":{"@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#primaryimage","url":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg","contentUrl":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/RSA-d.jpg","width":195,"height":30,"caption":"RSA d"},{"@type":"BreadcrumbList","@id":"https:\/\/binaryterms.com\/rsa-algorithm-in-cryptography.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/binaryterms.com\/"},{"@type":"ListItem","position":2,"name":"RSA Algorithm in Cryptography"}]},{"@type":"WebSite","@id":"https:\/\/binaryterms.com\/#website","url":"https:\/\/binaryterms.com\/","name":"Binary Terms","description":"The Computer Science &amp; IT Guide","publisher":{"@id":"https:\/\/binaryterms.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/binaryterms.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/binaryterms.com\/#organization","name":"Binary Terms","url":"https:\/\/binaryterms.com\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/binaryterms.com\/#\/schema\/logo\/image\/","url":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/binary-terms-logo1.png","contentUrl":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/binary-terms-logo1.png","width":400,"height":63,"caption":"Binary Terms"},"image":{"@id":"https:\/\/binaryterms.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/binaryterms.com\/#\/schema\/person\/e495f1d57f5c0a4c521cc3dba95661fe","name":"Neha T","url":"https:\/\/binaryterms.com\/author\/author"}]}},"_links":{"self":[{"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/posts\/1459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/comments?post=1459"}],"version-history":[{"count":2,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/posts\/1459\/revisions"}],"predecessor-version":[{"id":2203,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/posts\/1459\/revisions\/2203"}],"wp:attachment":[{"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/media?parent=1459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/categories?post=1459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/tags?post=1459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}