{"id":10217,"date":"2022-11-23T14:40:50","date_gmt":"2022-11-23T14:40:50","guid":{"rendered":"https:\/\/mdr.foobrdigital.com\/?p=10217"},"modified":"2022-11-23T14:40:50","modified_gmt":"2022-11-23T14:40:50","slug":"security-value-2","status":"publish","type":"post","link":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/2022\/11\/23\/security-value-2\/","title":{"rendered":"Security Value"},"content":{"rendered":"\n<p>Vigenere Cipher was designed by tweaking the standard Caesar cipher to reduce the effectiveness of cryptanalysis on the ciphertext and make a cryptosystem more robust. It is significantly&nbsp;<strong>more secure than a regular Caesar Cipher<\/strong>.<\/p>\n\n\n\n<p>In the history, it was regularly used for protecting sensitive political and military information. It was referred to as the&nbsp;<strong>unbreakable cipher<\/strong>&nbsp;due to the difficulty it posed to the cryptanalysis.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Variants of Vigenere Cipher<\/h3>\n\n\n\n<p>There are two special cases of Vigenere cipher \u2212<\/p>\n\n\n\n<ul>\n<li>The keyword length is same as plaintect message. This case is called&nbsp;<strong>Vernam Cipher<\/strong>. It is more secure than typical Vigenere cipher.<\/li>\n\n\n\n<li>Vigenere cipher becomes a cryptosystem with perfect secrecy, which is called&nbsp;<strong>One-time pad<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">One-Time Pad<\/h2>\n\n\n\n<p>The circumstances are \u2212<\/p>\n\n\n\n<ul>\n<li>The length of the keyword is same as the length of the plaintext.<\/li>\n\n\n\n<li>The keyword is a randomly generated string of alphabets.<\/li>\n\n\n\n<li>The keyword is used only once.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Security Value<\/h3>\n\n\n\n<p>Let us compare Shift cipher with one-time pad.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Shift Cipher \u2212 Easy to Break<\/h3>\n\n\n\n<p>In case of Shift cipher, the entire message could have had a shift between 1 and 25. This is a very small size, and very easy to brute force. However, with each character now having its own individual shift between 1 and 26, the possible keys grow exponentially for the message.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">One-time Pad \u2212 Impossible to Break<\/h3>\n\n\n\n<p>Let us say, we encrypt the name \u201cpoint\u201d with a one-time pad. It is a 5 letter text. To break the ciphertext by brute force, you need to try all possibilities of keys and conduct computation for (26 x 26 x 26 x 26 x 26) = 26<sup>5<\/sup>&nbsp;= 11881376 times. That\u2019s for a message with 5 alphabets. Thus, for a longer message, the computation grows exponentially with every additional alphabet. This makes it computationally impossible to break the ciphertext by brute force.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Transposition Cipher<\/h2>\n\n\n\n<p>It is another type of cipher where the order of the alphabets in the plaintext is rearranged to create the ciphertext. The actual plaintext alphabets are not replaced.<\/p>\n\n\n\n<p>An example is a \u2018simple columnar transposition\u2019 cipher where the plaintext is written horizontally with a certain alphabet width. Then the ciphertext is read vertically as shown.<\/p>\n\n\n\n<p>For example, the plaintext is \u201cgolden statue is in eleventh cave\u201d and the secret random key chosen is \u201cfive\u201d. We arrange this text horizontally in table with number of column equal to key value. The resulting text is shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.tutorialspoint.com\/cryptography\/images\/transposition_cipher.jpg\" alt=\"Transposition Cipher\"\/><\/figure>\n\n\n\n<p>The ciphertext is obtained by reading column vertically downward from first to last column. The ciphertext is \u2018gnuneaoseenvltiltedasehetivc\u2019.<\/p>\n\n\n\n<p>To decrypt, the receiver prepares similar table. The number of columns is equal to key number. The number of rows is obtained by dividing number of total ciphertext alphabets by key value and rounding of the quotient to next integer value.<\/p>\n\n\n\n<p>The receiver then writes the received ciphertext vertically down and from left to right column. To obtain the text, he reads horizontally left to right and from top to bottom row.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vigenere Cipher was designed by tweaking the standard Caesar cipher to reduce the effectiveness of cryptanalysis on the ciphertext and make a cryptosystem more robust. It is significantly&nbsp;more secure than a regular Caesar Cipher. In the history, it was regularly used for protecting sensitive political and military information. It was referred to as the&nbsp;unbreakable cipher&nbsp;due [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[541],"tags":[],"_links":{"self":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/10217"}],"collection":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=10217"}],"version-history":[{"count":0,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/10217\/revisions"}],"wp:attachment":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=10217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=10217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=10217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}