Search This Blog

Showing posts with label Codebreaker Badge. Show all posts
Showing posts with label Codebreaker Badge. Show all posts

15 May 2022

Blogging full time is hard

 So I think I may need to restart the count on the Writer Badge as I haven't been able to frequently add to this. I know I could update on my phone but I found it a bit too hard and I forgot that I have my mum's old tablet I could attempt to use. Hey ho.

I've just worked on the last few points of my Codebreaker badge this evening as far as research goes. I just need to read my choose your own adventure book which will be later. Whether I can stay awake is another matter, I'm exhausted. Pretty sure I'm coming down with a cold.

The Classic Substitution, or Caesar cipher, is very simple. Each letter is replaced by the letter 3 positions after it alphabetically so A B C becomes D E F. X Y and Z become A B and C being at the end.

The Homophonic Cipher is possibly the most complex I've looked up, even though it seems sort of easy to explain. Each letter is given a certain number of symbols (letters and numbers, or just numbers) based on their frequency in language. E is the most common in English and so often has the most substitutions. The substitutions themselves, however, are random, making it one of the hardest to crack.


This week my mum hopefully is going in for the surgery she had postponed last month due to having covid. Because of that, we're going into isolation tomorrow so I'll have a lot more time to do more.

Yesterday I tried calligraphy with not too bad results. Will be having another go as I have more templates to try.


I also organised my file to display the certificate cards that come with the badges too which I'm quite proud of.


But now I'm utterly exhausted so I'm gonna turn in, despite it being so early. Definitely feel that cold coming on.

Gratitude diary:

  1. Being able to take my Cubs out to the lake for the first time in a long time to do kayaking and paddleboarding.
  2. Not being at work when I feel meh
  3. A break in the rain to take my dog for a walk (after getting soaked right through at the lake!)
  4. Yummy food
  5. Coffee! I've needed it today

03 April 2022

3rd April - Ciphers part 2 and bunnies!

 I had so much patrolling time today and had loads of lovely chats with people. I wandered around so much it sometimes felt like I was stalking people!

Today was also the first time since I returned to work that I was faced with the problem we always face of being built on a chalk hill. Graffiti. To be fair, this time it was just names and Pokémon! But it does require a lot of elbow grease, a bucket of water and a soft bristled brush to get it off without damage to the walls.

I did find today was more of a struggle day with my back. I had to take quite a few sitting breaks but on the plus side I did remember my meds properly today. If I don't set an alarm on my watch, I'm in the habit of forgetting.

When I got home, there was time for a coffee and dinner before we walked the dog. Took her for a run around the park with her ball which she likes. Even when you can tell she's getting tired, she still can't stop herself from running after the ball. Eventually she stops bringing it back to us when she's had enough. That's when we put her back on her lead.

This evening I went back to Rebelling. More ciphers. I managed to research all the rest listed. Whether they were easier or I was less distracted... could be either. Or both.

Book (Ottendorf) Cipher

The plaintext (original text) is encrypted by using the location of the words from a key text, usually a book. Most commonly the key text is a Bible or a dictionary. They're both common and are likely to have all the words, especially in the case of a dictionary.

If all the necessary words aren't available in the key text, the plaintext is broken down from words to individual letters.

The code is the text, then numbers are used representing the page, line and word. In the case of individual letters, the letter in the word number is added.

I realised when reading up on this that I was already familiar with this cipher under it's alternative name, having seen it used in the film National Treasure with Nicholas Cage.


In the above image, they are copying down a series of numbers written in invisible ink on the back of the Declaration of Independence. They relate to the page, the line and the letter of the Silence Dogood letters. They knew this was the key text because of a clue found earlier in the film "...the key in Silence undetected..."

New England Courant - third Silence Dogood essay (detail)

These were several letters written by Benjamin Franklin at age 16, posing as a housewife, Mrs Silence Dogood.

Playfair
Researching this one helped me to understand the scene in National Treasure: Book of Secrets a bit better. It took me a while to get it, but not as long as yesterday's cipher!
It was invented by Charles Wheatstone but promoted by Lord Playfair so took his name, though sometimes was known as the Wheatstone-Playfair cipher.
The idea of this cipher was to pair up letters of the plaintext into bigrams (or digrams - no, not a spelling mistake).
Using a 5x5 grid, known as a Polybius Square, a key word or phrase is input.
For my example, REBELBADGE is my key word. The table is filled in without duplicates, then the rest of the alphabet is filled in, in order.

R E B L A
D G C F H
I  K M N O
P Q S T U
V W X Y Z

So the second 'E' in Rebel is removed, as is the 'B' and 'E' of Badge. In this cipher, I and J are interchangeable, using one or the other but not both.

My plaintext is CODEBREAKER.
This is split into the bigrams: CO DE BR EA KE RX.
X is used to create the final bigram so there aren't solo letters.

The idea of this cipher follows 4 rules which I really couldn't follow until I actually wrote out the 'translation' for myself.
  1. If both letters are the same, or only one remains, add an X. This is the case with the R at the end of my plaintext, but if, for example, I'd written 'Hello', the double 'L' would be written 'LX'
  2. When finding the coded bigrams in the table, these rules apply. Firstly, if both letters appear n the same row, you move one step to the right to get the coded bigrams. If the letter is at the last on the row, you use the last one.
  3. If both letters appear in the same column, you use the one directly below it, unless it's the last in the column and then you use the top one.
  4. If letters are not on the same row or in the same column, you form a rectangle with the letters in the corners. The opposite corners become the new bigram letters.
The order of the letters must remain the same so if the first letter of the bigram is after the second in a row, column or rectangle, the new bigram needs to be the same way round.

I know, this all sounds so complex. Bear with me.

CO DE BR EA KE RX becomes MH RG LE BR QG BV

How? I hear you ask.

Let's go left to right. I'll take the segments of the table I created above

C F  H        
M N O
So, C and O create a rectangle. M and H are the opposite corners.

R E           
D G          
D and E also create a 'rectangle'. I know it's a square, but same principle.

R E B L A    
B and R are on the same row. Taking the letters to their right and them in same order gives LE.

R E B L A     
Same principle for EA, but where A is the last on the line, you skip back to beginning.

E                  
G
K
Q
W            
K and E are in the same column, hence QG, the letters right below.

R E B        
D G C
I K M
P Q S
V W X
RX are opposite corners, so it becomes BV.

Once I put it this way, it made a lot more sense to me.

But anyway, I'm tired. Three days in a row back on summer hours was difficult. Tomorrow I'm off so hopefully I might get to chill a bit. Maybe... I'll write up what I found about the ADFGVX and Enigma ciphers tomorrow.

My five things:
  • Taking off my big heavy work boots after a really long day. It feels so good!
  • Knowing I have a day off tomorrow.
  • Learning new things. Researching these ciphers was really interesting.
  • Playing with Misty and her ball. She often brings it to me indoors too.
  • Bunnies! Fluffy little cutes!



02 April 2022

2nd April - Ciphers and stuff

Earlier start today. 0930 instead of 1000. Still helped to lock up today but the difference this time was that I got to leave earlier instead of staying to the end and setting the alarms.

It was cold again today, not as much as yesterday but at least for the most part it remained mostly sunny.

We weren't too busy, considering it was a Saturday, but it was busy enough to keep me busy. I love being able to chat to random strangers and not be considered weird.

I did a bit of reading this morning, a chapter of Heroes of Olympus: The Blood of Olympus by Rick Riordan. I love his books. I think they're aimed at older children, but I think that's part of the reason I love them. Doesn't try and fluff up the language to sound impressive like some adult books do. They're easy to read and so well written. This is the second series that follows the adventures of Percy Jackson, son of Poseidon. The first series was the Percy Jackson series and followed only Greek demigods in the modern world. This series has expanded to include Roman demigods too. He also wrote The Kane Chronicles, following magicians of Egyptian mythology in the modern world. There's Magnus Chase, his Norse series, a series following Apollo, the sun god... I think that's all of them. Suffice to say, there's plenty to choose from, they're all mythology based and all really good!

I also did a bit of reading at work. Where I was off work for so long, I've been reading our museum guide book to refresh my memory on some of the key dates and events. I'm classing this as my non-fiction book.

When I got home, we walked the dog around the cemetery, I had my dinner, then had a shower. Dad and I watched the latest episode of Picard, then I got into researching ciphers for my Codebreaker Badge.


I started with the Vigenère Cipher. It was created in 1553 but wasn't cracked until 1863.

It's based on the letters of a keyword. The alphabet is written in a grid and a keyword is chosen. This word is written multiple times until the length of the phrase to encode is completed.

For my example, I've chosen REBELBADGES and my keyword is CHARLEY.

Vigenère square shading

Above is a copy of a Vigenère square, or a tabula recta, from Wikipedia.

The word to be encrypted, known as a plaintext, is written without spaces and the keyword is written with the same amount of characters.

REBELBADGES
CHARLEYCHARL

So for example to find the right letter for the 'R', I look on Row C until I find 'R' on the row. It falls in Column P. So the code for this phrase is

PXBNAXCBZEH

To decrypt it, the principle is mostly the same. Start with the letter from the keyword, so again, this is Row C, match it to Column P and you find 'R' in the grid.


So yeah, that was my day. That cipher took a lot longer to research than I expected, mostly because I kept getting so confused when trying to actually work it out. I'll do another one another day.

I'll finish off with some gratitude of course.

  • Sunny weather. Even though it was cold today, it wasn't too bad because it was bright.
  • A nice hot shower.
  • Clean pyjamas in fresh bed sheets.
  • Leftover take away for lunch.
  • Catching up on the latest episode of a really good series. This time round, it's Picard. Love it. Though so far, series 1 was better.
See you tomorrow!

31 March 2022

Rebel Update

 Hi all. I thought I'd stop by with an update on how I'm doing with my badge work.

My daily journal is complete for April and ready to be started tomorrow and I'm surprised at how much I'm looking forward to ticking tasks off!


This is a project I worked on for a while and I decided to give it to my mum for Mother's Day so I framed it. The cross stitch comes under the Craft Badge and gifting it covers an aspect of My Talents. Not only that, I've discovered it covers the Be Kind Challenge!


The next update is to share this. Another aspect of the Craft badge I want to try is Calligraphy and it just so happened that my mum bought this kit for me and I can't wait to try it out! I just need to locate some good tutorials, books or websites to learn from.


The Reader Badge appealed to me as soon as I knew there was one, but there's also a clause in the Codebreaker Badge that covers the reading of a book. This has been on my wishlist for ages so I decided now was the time to buy it. Firstly as one of my six books to read, but also to cover the Choose Your Own Adventure aspect. Let's hope I avoid that bizarre death they warn about on the cover!


I've also been out today and bought some plants for my Indoor Gardener badge. I need to look after five different plants, but I already have a little rose I was given for Christmas and there's an Oxalis Triangularis in our bathroom I look after too.

I was quite impressed that this little bundle, including the food and snips, cost less than £30!

Finally, last night I went for a meeting of our District Scout Adventurous Activities committee about joining and training up to become an instructor in activities like tomahawk throwing, climbing, rifle shooting, all the cool stuff. So it looks like my Adventurer Badge is on the cards.

Blogging full time is hard

  So I think I may need to restart the count on the Writer Badge as I haven't been able to frequently add to this. I know I could update...