Technology/Multimedia

Secret code

Have you ever want to send a message but you don’t want other people to understand that massage beside the person that you send to. In code club, there is a lesson that we code about secret massage. When you code you have to put a key for the code, it has to number but it’s can be any number. For me, I choose number three. When you write something to your friend you can use that key to help if you say “hi” the turn to “kl”. Why? The reason that it’s show “kl” because as I said if you put the key it will move the letter three forward and also you have to tell computer by coding you have to put [ newPosition = ( position + key) % 26 ] so that when you write something the later will move forward but if you receive a secret message you can ask the person that sent the message to you about, what key did they use so that you can understand the code, also when you receive the code you need to chat from [ newPosition = ( position + key) % 26 ] to [ newPosition = ( position – key) % 26 ] so that when you take the secret message to the code it shows what that people mean. You can this yourself. https://codeclubprojects.org/en-GB/python/secret-messages/

Hope you understand and enjoy.

Leave a Reply

Your email address will not be published. Required fields are marked *