AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Secret messages

Week 22 · Unit 9 · Unit · 3 lessons
2

Flip text cipher

Computing 3: Unit 9, pp. 135–146
GoalUse the flip text cipher to write and to read a secret message.
New words
flip text cipher · a cipher that writes the whole message backwardsencode · to change plain text into ciphertextdecode · to change ciphertext back into plain text
Explanation

The flip text cipher is a very simple cipher. The rule is: write the whole message backwards. Start with the last letter and finish with the first letter. The spaces are flipped as well, so the last word comes first. The plain text “see you soon” becomes the ciphertext “noos uoy ees”. To encode a message we follow the rule. To decode it we follow the same rule again, because flipping twice puts everything back. Go slowly and tick off each letter. This cipher is easy to learn, but it is also easy to crack, so it is only good for games.

Plain textCiphertext
see you soonnoos uoy ees
noos uoy eessee you soon
Worked examples
Take from the endLetters
last word, backwardsd l o c
space, then the middle words i
space, then the first wordk l i m
Encode “milk is cold”. Begin at the end of the message and take one letter at a time. The ciphertext is “dloc si klim”.
CiphertextDecoded plain text
yad doog a evahhave a good day
Decode “yad doog a evah”. Flip the whole message again, starting at the last letter. You get “have a good day”.
WordFlipped
noonnoon
levellevel
mummum
treeeert
Some words read the same forwards and backwards, so the flip text cipher does not change them. Look at “noon”, “level” and “mum”. Can you find more?
Class activity

Flip a note (in pairs): write three short messages on squared paper, one letter in each square. Then read each message from right to left and write it down as ciphertext. Swap your ciphertexts with your partner and decode them. Check each other: does the decoded message match the plain text? If you have a computer or tablet, type one ciphertext into a text editor and ask your partner to decode it from the screen.

Practice
1
Encode this message with the flip text cipher: open the gate
2
Decode this ciphertext:
Ciphertext
tfig a rof sknaht
3
Ravi flips each word on its own and writes “der sub” for “red bus”. Does he use the flip text cipher?
Plain textRavi’s ciphertext
red busder sub
4
Which of these words does not change when it is flipped? noon · tree · bell · level