Thread: C++/C Beginners Codebreak challenge

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472

    C++/C Beginners Codebreak challenge

    I thought it an idea to put a puzzle up for the less advanced programmers like myself to have a go at, this is a mixture of codebreaking and program creation, the point being building a program as a tool to break the code, without it this would take a long time to solve, unless you were born in bletchley park or something.

    part1 > the program should be able to aid you break the cipher attached and output as plaintext, by accepting a test key. it should include a function to help your analysis of the testkeys, eg funtion to help determine key length by looking for repeated groupings.
    part2 > Your program should also be able to encrypt the attached plaintext file using the same ciphertype and key and output it to a .txt file, this file will then be run in my test program.

    I dont think it will take too long for someone to complete it so public answers posted here as attachments,

    include the cipherkey as a comment at the top of your source file.
    if you have the key correct but your program does not accurately output the plaintext thats a fail.

    in the same format of my ciphertext (ie no whitespace, all lowercase letters, no punctuation)

    console app only.

    i use codeblocks but also have dev cpp so those are my options to compile your work, so ensure compatible.

    The winning program will be a single source file, maximum of 200 lines, including empty lines.

    only the usual headers for i/o allowed

    This is a Vigenère cipher.

    To the winner goes the glory, adulation of your peers, + people will no longer cross the street to avoid you! Also it might be a step on the road to solve the Beale papers...

    p.s i suppose its possible someone already has something to do this....so maybe let others have a go if so !
    Last edited by rogster001; 12-16-2009 at 02:11 AM. Reason: familiarity breeds contempt! ;->

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginners C Programming Challenge
    By UCnLA in forum C Programming
    Replies: 23
    Last Post: 04-01-2008, 07:46 PM
  2. Beginners C Programming Challenge
    By UCnLA in forum C Programming
    Replies: 2
    Last Post: 03-18-2008, 12:15 PM
  3. for beginner's or anyone interested
    By Iconoklast in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-25-2004, 02:45 PM
  4. Requesting a challenge
    By RealityFusion in forum C++ Programming
    Replies: 8
    Last Post: 08-18-2003, 08:24 PM
  5. What is a good beginners' C++ book?
    By GrNxxDaY in forum C++ Programming
    Replies: 1
    Last Post: 07-29-2002, 09:50 AM