Skip to main content

Cipher Clock

Viewing 15 posts - 61 through 75 (of 153 total)
  • Author
    Posts
  • #52710
    Elhuracan
    Participant

    If you’re finding it hard to create a program that simulates the cipher wheel, try Googling “Wheatstone Clock Cipher” and you can find some stl files for free that you can edit 3D print to create a working spyclist cipher wheel.

    #52709
    Louisfielding
    Participant

    Well, other than building our own computer programme, it doesn’t really help as this cipher seems to be unique.

    #52688
    Jamiecjx
    Participant

    The clock cipher has a weakness in it that can be particularly exploited with the crib.

    Bruteforcing the key is just a no because theres way too many possibilities.

    A clue would to be to analyse what happens when you encrypt some random message but using different keys and see if a pattern is spotted.

    #52711
    Elhuracan
    Participant

    This blog has lots of helpful technical information if you want to make/computer simulate a Wheatstone device:
    https://incoherency.co.uk/blog/stories/wheatstone-cryptograph.html

    #52712
    18goyaan
    Participant

    I am sssssssssssooooooooooo confused. I cant even utilise the piece of burnt paper

    #52713
    18goyaan
    Participant

    Dear Uncle Wilhelm.. DOESN’T WORK! PLS EXPLAIN! WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY!

    #52718
    F6exb
    Participant

    Because it is not a good crib!

    #52663
    F6exb
    Participant

    What a challenge!
    I did a big part with just the clothes I’m standing up in (I don’t dare to use the French expression): paper, pencil, Word, Excel, and I see a little light. But sliding two pieces of paper with the alphabet and the encrypted key for hours is not very funny. If I want to get the plain text before 2021 challenge I need to learn a little more Python or PureBasic.

    #52668
    Teymour_aldridge
    Participant

    I’m not sure if it works (it doesn’t work for the clock cipher, but I think that’s a problem with my genetic algorithm) – I’m currently writing a hill-climbing algorithm for general clock ciphers.

    My crossover function looks something like:

    fn crossover(a: &str, b: &str) -> String {
        assert_eq!(a.len(), b.len());
        let crossover_points = rand::thread_rng().gen_range(0, a.len() / 2);
        let mut new: Vec<_> = a.chars().collect();
        for _ in 0..crossover_points {
            let number = rand::thread_rng().gen_range(0, b.len());
            new[number] = b.chars().nth(number).unwrap();
        }
        new.iter().collect()
    }

    It replaces a random number of positions in “a” with the corresponding values from “b”

    #52671
    Jamieflet
    Participant

    @Xantali I found the crib essential, it helped me to think of the what the operator is observing of the short and long hands as they encipher each letter. This helped me to to find a way to analyse the ciphertext and gather enough information to reduce the number of keys from 28! to 28. The rest fell into place very quickly then.

    So… I have a solution and the key, but I am struggling to get my brain around what the keyword was. It certainly appears to me like there is one (should I be looking at 3B solution for this?), but has anyone actually managed to work back to this?

    #52673
    Decoder-s
    Participant

    Finally did it! A brilliant challenge. Don’t give up, it’s amazing how your brain will keep the problem ticking over while you do other things.

    #52684
    Teymour_aldridge
    Participant

    I’m writing a blog post on this, which I’m happy to share provided Harry approves. (it’s roughly 65% complete and walks through how to implement the algorithm)

    There’s an interesting paper which gives some guidance.

    https://eprint.iacr.org/2020/1492.pdf

    Turns out climbing hills is better than genetic algorithms for this.

    #52700
    F6exb
    Participant

    I recover the key, thanks to the burnt paper. But as Madness and Kford-Academy says, it is also possible to recover it without a crib, by looking at bigrams and using a grid.

    #52720
    Icybee
    Participant

    @18goyaan Perhaps the message isn’t being sent to Uncle Wilhelm

    #52727
    Chik2008
    Participant

    What is this sorcery?!?

    C = E(Ac, P)

    P → E(Ac) → C

    C = E(Ac, P) = M(Ac, S(P))

    P→ S→M(AC)→C

    (I got this from the latest case files and it makes no sense to me)

Viewing 15 posts - 61 through 75 (of 153 total)
  • You must be logged in to reply to this topic.