Simple Substitution Cipher
Learn the simple substitution cipher and permutations.
The simple substitution cipher is a considerable improvement on the Caesar cipher. Like the Caesar cipher, however, this cryptosystem is also fundamentally flawed.
Permutations
A permutation of a set of objects is an arrangement of the objects in some order. For example, (A, B, C), (B, C, A), and (C, A, B) are all permutations of the letters A, B, and C. The total number of possible permutations of A, B, and C is:
A permutation of all the letters of the alphabet is the 26 letters of the alphabet arranged in some order. The most natural permutation is (A, B, C, . . ., Z), but (Z, Y, X, . . ., A) is also a permutation and so is any other arrangement such as (G, Y, L, . . . , X, B, N). The total number of such permutations is:
This is such a big number that we normally write it using the notation 26! (which is read as 26 factorial). In general, if we have objects, then the total number of possible permutations is:
Get hands-on with 1400+ tech skills courses.