One of the weaknesses of Ceasar is that an attacker knows the order of my alphabet, IE ABC...Z

If I scramble this, then are there enough permutations to ensure my resultant ciphertext cannot be brute forced. Does this then only leave me vulnerable to frequency analysis.


This is a monoalphabetic substitution cipher (with a mixed alphabet; in the first section of the article there is a paragraph about its security)

While the keyspace of this cipher is huge (relatively speaking for a classical cipher) with $26!\approx 2^{88.4}$ possible keys, it is still quite easy to break with frequency analysis.

Caesar is much worse of course, because you can simply try out all $26$ possible keys, and that is not possible for a simple substitution cipher (with arbitrary permutation).

Does this then only leave me vulnerable to frequency analysis.

Well, that statement is true. But "more than almost nothing" doesn't mean much.

  • $\begingroup$ But you don't know the key, I've scrambled the 26 letters up. $\endgroup$
    – Adrian
    Feb 27 '17 at 21:35
  • $\begingroup$ So? You still have just one letter being substituted with a single other letter. Which part don't you understand? $\endgroup$
    – Maarten Bodewes
    Feb 27 '17 at 21:38
  • 1
    $\begingroup$ @Adrian The key isn't necessary. For example, copy and paste the following into an online solver such as quipqiup: zqu eqd'm dooe k poz mq eofszwm mjtn; asoguodfz kdkxzntn kxqdo tn nuaatftodm $\endgroup$
    – r3mainer
    Feb 27 '17 at 21:52
  • $\begingroup$ So I put that into the online Solver and it solved it using Frequency analysis. Which is what my original question was about. $\endgroup$
    – Adrian
    Feb 28 '17 at 2:22
  • 2
    $\begingroup$ @Adrian Classical ciphers are only toy exercises in today's world, you should never use that in an actual application. You can not fix all the issues with those, especially if you start with basically zero security (which all classical ciphers have from a modern point of view). $\endgroup$
    – tylo
    Feb 28 '17 at 9:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.