The Secrets Tree Read online

Page 7


  Code or Cipher?

  Most people don’t know this, but codes and ciphers aren’t the same. A code is a way of taking a message and making it much shorter and simpler. It works by thinking about what the words or letters mean – so you might send “What time is it?” in code by sending a clock emoji. The thing to remember is that for a code you need a codebook – like a dictionary that tells you what each codeword or picture means.

  A cipher doesn’t care what the message means at all! It’s working just by symbols. A cipher uses an algorithm, which is like a set of secret instructions that tell you how to change the symbols in your message. It sounds complicated, but it really isn’t…

  Substitution Ciphers

  This kind of cipher works by keeping the letters in your original message (which is called the plaintext) in the same order, but replacing them with the coded message (which is called the ciphertext) by using an algorithm that turns the letters into different ones. Substitution is just another word for swapping one thing with something else.

  Caesar Cipher

  The most famous substitution cipher is supposed to have been invented by Julius Caesar! The Caesar cipher was used to send messages to his armies. He would write out his message and then change every letter to the letter that came three further on in the alphabet. So A would be D, and B would be E. The algorithm for this cipher is just “Add three”.

  So Penhallow Hall would be: SHQKDOORZKDOO! But to make it harder to solve, you can put some extra spaces in to make the words look different: SHQKD OO RZKD OO.

  You might think that this was a bit of an easy code for a military leader who was sending out secret orders, but many people in Julius Caesar’s time couldn’t read at all, so this code would have seemed even more confusing. Enemies intercepting a coded message might have thought it was in a completely different language.

  Transposition Ciphers

  Transposition ciphers work a bit differently. This time you’re keeping the same letters, but moving them around following the secret instructions in your algorithm. Transposition is a word that means moving something from one place to another.

  Reverse Order Cipher

  One really easy transposition cipher is the reverse order cipher. You write your message backwards. So Penhallow Hall would be: LLAH WOLLAHNEP. Or you can work the cipher slightly differently and keep the words in the same order, and just reverse the letters: WOLLAHNEP LLAH.

  Book Code

  Nat and Jake send their secret messages with a book code – even though their book is actually a ballad sheet.

  This is a code rather than a cipher, because you’re looking for specific words.

  This is a really good method, as long as all the words you need are in the book! The important thing to remember is that you must both have exactly the same book. Even if you both have a copy of Matilda by Roald Dahl, they may have been printed at different times so all the words will be in different places, and your messages won’t make sense.

  To send a message, you find the word you want and write down the page it’s on, then the number of the line (from the top of the page counting down) and the order the word comes on the line (from left to right).

  Can you solve this message? You’ll have to guess which book I’ve used first…

  Hold the last page of this book up to a mirror to check your answer!

  Copyright

  STRIPES PUBLISHING

  An imprint of The Little Tiger Group

  1 Coda Studios, 189 Munster Road,

  London SW6 6AW

  First published as an ebook by Stripes Publishing in 2018.

  Text copyright © Holly Webb, 2018

  Illustrations copyright © Jason Cockcroft, 2018

  Author photograph copyright © Nigel Bird

  eISBN: 978–1–84715–988–5

  The right of Holly Webb and Jason Cockcroft to be identified as the author and illustrator of this work respectively has been asserted by them in accordance with the Copyright, Designs and Patents Act, 1988.

  All rights reserved.

  Apart from any use permitted under UK copyright law, this publication may only be reproduced, stored, or transmitted, in any forms, or by any means, with prior permission in writing of the publishers or, in the case of reprographic production, in accordance with the terms of licences issued by the Copyright Licensing Agency.

  A CIP catalogue record for this book is available from the British Library.

  www.littletiger.co.uk

 

 

 


    The Silver Pony Read onlineThe Silver PonyFair Fashion Read onlineFair FashionThe Mystery Kitten Read onlineThe Mystery KittenThe Perfect Kitten Read onlineThe Perfect KittenThe Loneliest Kitten Read onlineThe Loneliest KittenThe Story Puppy Read onlineThe Story PuppyThe Saddest Kitten Read onlineThe Saddest KittenFrost Read onlineFrostSara's Dream Role Read onlineSara's Dream RoleThe Case of the Feathered Mask Read onlineThe Case of the Feathered MaskThe Reindeer Girl Read onlineThe Reindeer GirlPoppy's Garden Read onlinePoppy's GardenLily's Secret Audition Read onlineLily's Secret AuditionPlaytime for Rascal Read onlinePlaytime for RascalThe Hideaway Deer Read onlineThe Hideaway DeerThe Abandoned Puppy Read onlineThe Abandoned PuppyLucy the Poorly Puppy Read onlineLucy the Poorly PuppyKatie's Secret Admirer Read onlineKatie's Secret AdmirerReturn to the Secret Garden Read onlineReturn to the Secret GardenThe Secret Puppy Read onlineThe Secret PuppyKatie's Big Match Read onlineKatie's Big MatchHarry the Homeless Puppy Read onlineHarry the Homeless PuppyThe Kidnapped Kitten Read onlineThe Kidnapped KittenThe Snow Bear Read onlineThe Snow BearA Home for Molly Read onlineA Home for MollyThe Case of the Stolen Sixpence Read onlineThe Case of the Stolen SixpenceEmily Feather and the Secret Mirror Read onlineEmily Feather and the Secret MirrorThe Secrets Tree Read onlineThe Secrets TreeRascal's Festive Fun Read onlineRascal's Festive FunThe Rescued Kitten Read onlineThe Rescued KittenThe Rescued Puppy Read onlineThe Rescued PuppyThe Homeless Kitten Read onlineThe Homeless KittenThe Secret Kitten Read onlineThe Secret KittenThe Missing Kitten Read onlineThe Missing KittenSmudge the Stolen Kitten Read onlineSmudge the Stolen KittenJess the Lonely Puppy Read onlineJess the Lonely PuppyMax the Missing Puppy Read onlineMax the Missing PuppyThe Case of the Blind Beetle Read onlineThe Case of the Blind BeetleThe Princess and the Suffragette Read onlineThe Princess and the SuffragetteEmily Feather and the Starlit Staircase Read onlineEmily Feather and the Starlit StaircaseTimmy in Trouble Read onlineTimmy in TroubleChloe Centre Stage Read onlineChloe Centre StagePlaytime for Rascal (My Naughty Little Puppy) Read onlinePlaytime for Rascal (My Naughty Little Puppy)Rascal's Seaside Adventure Read onlineRascal's Seaside AdventureThe Forgotten Puppy Read onlineThe Forgotten PuppyEmily Feather and the Enchanted Door Read onlineEmily Feather and the Enchanted DoorLooking for Bear Read onlineLooking for BearMisty the Abandoned Kitten Read onlineMisty the Abandoned KittenThe Scruffy Puppy Read onlineThe Scruffy PuppyLost in the Storm Read onlineLost in the StormIzzy's River Read onlineIzzy's RiverRascal's Sleepover Fun Read onlineRascal's Sleepover FunAnnabel's Starring Role Read onlineAnnabel's Starring RoleThe Case of the Vanishing Emerald Read onlineThe Case of the Vanishing EmeraldBecky's Problem Pet Read onlineBecky's Problem PetThe Clever Little Kitten Read onlineThe Clever Little KittenGinger the Stray Kitten Read onlineGinger the Stray KittenSam the Stolen Puppy Read onlineSam the Stolen PuppyA Kitten Called Tiger Read onlineA Kitten Called TigerButtons the Runaway Puppy Read onlineButtons the Runaway PuppyThe Moonlight Statue Read onlineThe Moonlight StatueA Cat Called Penguin Read onlineA Cat Called PenguinRascal the Star Read onlineRascal the StarRose and the Lost Princess Read onlineRose and the Lost PrincessThe Storm Leopards Read onlineThe Storm LeopardsThe Frightened Kitten Read onlineThe Frightened KittenThe Case of the Weeping Mermaid Read onlineThe Case of the Weeping MermaidThe Case of the Secret Tunnel Read onlineThe Case of the Secret TunnelThe Brave Kitten Read onlineThe Brave KittenA Tiger Tale Read onlineA Tiger TaleBecky's Dress Disaster Read onlineBecky's Dress DisasterBecky's Terrible Term Read onlineBecky's Terrible TermA Home for Rascal Read onlineA Home for RascalAlone in the Night Read onlineAlone in the NightAlfie All Alone Read onlineAlfie All AloneSammy the Shy Kitten Read onlineSammy the Shy KittenThe Lost Puppy Read onlineThe Lost PuppyOscar's Lonely Christmas Read onlineOscar's Lonely ChristmasThe Puppy who was Left Behind Read onlineThe Puppy who was Left BehindThe Winter Wolf Read onlineThe Winter WolfThe Unwanted Puppy Read onlineThe Unwanted PuppyThe Curious Kitten Read onlineThe Curious KittenThe Case of the Phantom Cat Read onlineThe Case of the Phantom CatSky the Unwanted Kitten Read onlineSky the Unwanted KittenEmily's Dream Read onlineEmily's DreamThe Kitten Nobody Wanted Read onlineThe Kitten Nobody WantedThe Chocolate Dog Read onlineThe Chocolate DogLost in the Storm (Holly Webb Animal Stories) Read onlineLost in the Storm (Holly Webb Animal Stories)Maya's Secret Read onlineMaya's SecretAnnabel's Perfect Party Read onlineAnnabel's Perfect PartyNew Tricks for Rascal Read onlineNew Tricks for Rascal