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 ;)!