Which cipher text is easiest to guess the plaintext?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite
1












I know that there are approximately 2^88 different permutations of 26 characters. The stream cipher A5/1, which generates a binary keystream using three irregularly clocked LFSR, and has a 64-bit key.




If we consider 1 000 characters of English text encrypted using either
a substitution cipher or encoded in ASCII and encrypted using A5/1.
From which ciphertext is it easiest to guess the plaintext?




In my opinion, the Substitution cipher is easy to guess. In the substitution cipher, it has repeated characters in the cipher-text make easier to figure out the text. Also, the substitution cipher has 26! possibilities. Can someone explain it to me in a more detail way?







share|improve this question
























    up vote
    4
    down vote

    favorite
    1












    I know that there are approximately 2^88 different permutations of 26 characters. The stream cipher A5/1, which generates a binary keystream using three irregularly clocked LFSR, and has a 64-bit key.




    If we consider 1 000 characters of English text encrypted using either
    a substitution cipher or encoded in ASCII and encrypted using A5/1.
    From which ciphertext is it easiest to guess the plaintext?




    In my opinion, the Substitution cipher is easy to guess. In the substitution cipher, it has repeated characters in the cipher-text make easier to figure out the text. Also, the substitution cipher has 26! possibilities. Can someone explain it to me in a more detail way?







    share|improve this question






















      up vote
      4
      down vote

      favorite
      1









      up vote
      4
      down vote

      favorite
      1






      1





      I know that there are approximately 2^88 different permutations of 26 characters. The stream cipher A5/1, which generates a binary keystream using three irregularly clocked LFSR, and has a 64-bit key.




      If we consider 1 000 characters of English text encrypted using either
      a substitution cipher or encoded in ASCII and encrypted using A5/1.
      From which ciphertext is it easiest to guess the plaintext?




      In my opinion, the Substitution cipher is easy to guess. In the substitution cipher, it has repeated characters in the cipher-text make easier to figure out the text. Also, the substitution cipher has 26! possibilities. Can someone explain it to me in a more detail way?







      share|improve this question












      I know that there are approximately 2^88 different permutations of 26 characters. The stream cipher A5/1, which generates a binary keystream using three irregularly clocked LFSR, and has a 64-bit key.




      If we consider 1 000 characters of English text encrypted using either
      a substitution cipher or encoded in ASCII and encrypted using A5/1.
      From which ciphertext is it easiest to guess the plaintext?




      In my opinion, the Substitution cipher is easy to guess. In the substitution cipher, it has repeated characters in the cipher-text make easier to figure out the text. Also, the substitution cipher has 26! possibilities. Can someone explain it to me in a more detail way?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 16 at 12:15









      M.J.Watson

      1218




      1218




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          5
          down vote



          accepted










          You're right.



          For a substitution cipher the huge size of the keyspace is quite irrelevant in terms of security: it does not change the frequencies of letters, just maps them to other letters. So you you can go from the most common letter and map that, then the 2. most common, etc. And after maybe the 10 most common letters you can use a dictionary with English words and the partially mapped words to exclude other possibilities to get the remaining mappings. "Security" is barely better than a Caesar cipher.



          For A5/1 it took over 10 years to be broken, so in contrast it is is not trivially broken by modern computers, like basically any classical cipher.



          I guess the point of the exercise is: A large keyspace does not mean, the cipher is secure.






          share|improve this answer
















          • 2




            An alternative phrasing: there is a difference between attacking the cipher and attacking the key. A large key space doesn't matter if you are not attacking the key.
            – Jörg W Mittag
            Aug 16 at 14:44










          Your Answer




          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "281"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f61538%2fwhich-cipher-text-is-easiest-to-guess-the-plaintext%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          5
          down vote



          accepted










          You're right.



          For a substitution cipher the huge size of the keyspace is quite irrelevant in terms of security: it does not change the frequencies of letters, just maps them to other letters. So you you can go from the most common letter and map that, then the 2. most common, etc. And after maybe the 10 most common letters you can use a dictionary with English words and the partially mapped words to exclude other possibilities to get the remaining mappings. "Security" is barely better than a Caesar cipher.



          For A5/1 it took over 10 years to be broken, so in contrast it is is not trivially broken by modern computers, like basically any classical cipher.



          I guess the point of the exercise is: A large keyspace does not mean, the cipher is secure.






          share|improve this answer
















          • 2




            An alternative phrasing: there is a difference between attacking the cipher and attacking the key. A large key space doesn't matter if you are not attacking the key.
            – Jörg W Mittag
            Aug 16 at 14:44














          up vote
          5
          down vote



          accepted










          You're right.



          For a substitution cipher the huge size of the keyspace is quite irrelevant in terms of security: it does not change the frequencies of letters, just maps them to other letters. So you you can go from the most common letter and map that, then the 2. most common, etc. And after maybe the 10 most common letters you can use a dictionary with English words and the partially mapped words to exclude other possibilities to get the remaining mappings. "Security" is barely better than a Caesar cipher.



          For A5/1 it took over 10 years to be broken, so in contrast it is is not trivially broken by modern computers, like basically any classical cipher.



          I guess the point of the exercise is: A large keyspace does not mean, the cipher is secure.






          share|improve this answer
















          • 2




            An alternative phrasing: there is a difference between attacking the cipher and attacking the key. A large key space doesn't matter if you are not attacking the key.
            – Jörg W Mittag
            Aug 16 at 14:44












          up vote
          5
          down vote



          accepted







          up vote
          5
          down vote



          accepted






          You're right.



          For a substitution cipher the huge size of the keyspace is quite irrelevant in terms of security: it does not change the frequencies of letters, just maps them to other letters. So you you can go from the most common letter and map that, then the 2. most common, etc. And after maybe the 10 most common letters you can use a dictionary with English words and the partially mapped words to exclude other possibilities to get the remaining mappings. "Security" is barely better than a Caesar cipher.



          For A5/1 it took over 10 years to be broken, so in contrast it is is not trivially broken by modern computers, like basically any classical cipher.



          I guess the point of the exercise is: A large keyspace does not mean, the cipher is secure.






          share|improve this answer












          You're right.



          For a substitution cipher the huge size of the keyspace is quite irrelevant in terms of security: it does not change the frequencies of letters, just maps them to other letters. So you you can go from the most common letter and map that, then the 2. most common, etc. And after maybe the 10 most common letters you can use a dictionary with English words and the partially mapped words to exclude other possibilities to get the remaining mappings. "Security" is barely better than a Caesar cipher.



          For A5/1 it took over 10 years to be broken, so in contrast it is is not trivially broken by modern computers, like basically any classical cipher.



          I guess the point of the exercise is: A large keyspace does not mean, the cipher is secure.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 16 at 12:34









          tylo

          10.1k1224




          10.1k1224







          • 2




            An alternative phrasing: there is a difference between attacking the cipher and attacking the key. A large key space doesn't matter if you are not attacking the key.
            – Jörg W Mittag
            Aug 16 at 14:44












          • 2




            An alternative phrasing: there is a difference between attacking the cipher and attacking the key. A large key space doesn't matter if you are not attacking the key.
            – Jörg W Mittag
            Aug 16 at 14:44







          2




          2




          An alternative phrasing: there is a difference between attacking the cipher and attacking the key. A large key space doesn't matter if you are not attacking the key.
          – Jörg W Mittag
          Aug 16 at 14:44




          An alternative phrasing: there is a difference between attacking the cipher and attacking the key. A large key space doesn't matter if you are not attacking the key.
          – Jörg W Mittag
          Aug 16 at 14:44

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f61538%2fwhich-cipher-text-is-easiest-to-guess-the-plaintext%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What does second last employer means? [closed]

          List of Gilmore Girls characters

          Confectionery