Skip to main content
The National Cipher Challenge

Programming

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #93740
    Harry
    Keymaster

    Got any questions or suggestions about mathprogrammings? You have a huge community of experts on this forum, so why not join them with some advice for newbies, or post your own questions here. No coursework help though!

    #93952
    viaaa
    Participant

    Hiya,
    I was wondering if anyone had any recourses for learning to make cryptography programs in Python? I managed to make a caesar cipher a while back in 2021 or ’22, but gave up when I got to affine lol – I want to try again with more experience!

    #93985
    F6EXB_the_frenchy
    Participant

    Hello,
    You can buy or download:
    Cracking code with Python, by Al Sweigart.

    #94051
    viaaa
    Participant

    Thank you! I’ll look into Cracking Code with Python – I also found “A book on Classical Cryptography” by Madness last night, and that seems really helpful. If anyone in the future wants to read it, you can find it here, or you could find it on the BOSS training recourses.

    #96437
    ByteInBits
    Participant

    B Hi to all,
    y I am thinking of posting
    t some math questions and
    e will ask for your answer
    I along with your code used
    n for solving it.
    B You can use the language
    i that you are familiar with
    t I will give my answer and code
    s using PARI-gp Calculator.

    (was just trying out – hope the above displays ok)

    #96547
    ByteInBits
    Participant

    I am guessing this is the first in a series of coding challenges, so have at it! I think the setter is as interested in the code you write as in the arithmetical answer! I will hold off on publishing your solutions for a while so others can have a go. Harry

    Hopefully a reasonably easy one to kick off with.

    ******************************************************************** Question #1
    Find a number X that when divided by 4 leaves a remainder of 3 and
    when divided by 5 leaves a remainder of 1 and when divided by 7 leaves a
    remainder of 2 and when divided by 11 also leaves a remainder of 2 and
    when divided by 17 leaves a remainder of 12. (with X > 5,000 & x < 50,000)

    —————– same question put another way
    Find X
    when X is divided by 4,5,7,11,17 and in turn leaves the remainders 3,1,2,2,12
    (with X being greater than 5,000 but less than 50,000)

    For all questions: Give your code and the printout from it.

    #96964
    _madness_
    Participant

    Will this get past the censor?

    No! Did you think it would? Still pondering how best to release these. Think it would be best if replies on this thread came in two messages, one claiming to have made a solution, and which I can post without fear of spoilers, and a second with the solution in it that I can schedule for release when people have had a chance to try it. Then you can all crow, marvel or eat humble pie as appropriate. Fair? Harry

    #97023
    Astralica
    Participant

    As you wish Harry: I claim to have made a solution!

    Cool problem Bytes! I’m looking forwards to your next ones. How many will there be?

    #96986
    Rincewind
    Participant

    I have a solution, though not via any code!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Report a problem