Fractionated Morse Cipher

1.5K 9 2
                                    

WARNING!:UNEDITED!

The Fractionated Morse cipher first converts the plaintext to morse code, then enciphers fixed size blocks of morse code back to letters. This procedure means plaintext letters are mixed into the ciphertext letters i.e. one plaintext letter does not map to one ciphertext letter. This makes it more secure than e.g. substitution ciphers, but it can still be broken with some effort.

One of the benefits of the Fractioned Morse cipher is that it can encipher spaces and punctuation just as easily as letters. The ciphertext message will generally be of a similar length to the plaintext message, but often will have a slightly different number of characters.

Example
To pass an encrypted message from one person to another, it is first necessary that both parties have the 'key' for the cipher, so that the sender may encrypt it and the receiver may decrypt it. For the Fractionated Morse cipher, the key is a mixed alphabet e.g. "ROUNDTABLECFGHIJKMPQSVWXYZ".

Here is a quick example of the encryption and decryption steps involved with the caesar cipher. The text we will encrypt is "defend the east", with a key of "ROUNDTABLECFGHIJKMPQSVWXYZ".

The first step is to encode our string as Morse code with 'x' between characters and 'xx' between words

Morse Code:
A  .-       N  -.         .  .-.-.-     1  .----
B  -...     O  ---     ,  --..--    2  ..---
C  -.-.    P  .--.     :  ---...     3  ...--
D  -..      Q  --.-    "  .-..-.      4  ....-
E  .          R  .-.        '  .----.    5  .....
F  ..-.     S  ...          !  -.-.--    6  -....
G  --.     T  -          ?  ..--..      7  --...
H  ....       U  ..-      @  .--.-.     8  ---..
I  ..           V  ...-     -  -....-       9  ----.
J  .---    W  .--     ;  -.-.-.       0  -----
K  -.-       X  -..-    (  -.--.          
L  .-..       Y  -.--   )  -.--.-         
M  --       Z  --..    =  -...-          

Here is an example of converting text to Morse code:

plaintext:  defend the east
morse: -..x.x..-.x.x-.x-..xx-x....x.xx.x.-x...x-x
Now we take blocks of 3 morse code characters and encipher them using the key and the following table:

R O U N D T A B L E C F G H I J K M P Q S V W X Y Z
. . . . . . . . . - - - - - - - - - x x x x x x x x
. . . - - - x x x . . . - - - x x x . . . - - - x x
. - x . - x . - x . - x . - x . - x . - x . - x . -
The first three morse characters in our message are '-..', this corresponds to the column with 'E' above it in the key table. The next three morse characters is 'x.x' which becomes 'S'. Our complete ciphertext becomes: ESOAVVLJRSSTRX. Note that the spaces in the plaintext are retained, when we decrypt we will recover any spaces or punctuation from the plaintext.

                Pinky_Dust

Codes And ChipersTahanan ng mga kuwento. Tumuklas ngayon