Programming project #1
- From: run_signature_script_for_my_email@xxxxxxxxxxx (laura fairhead)
- Date: Tue, 27 Sep 2005 22:08:03 +0000 (UTC)
Hi ppl,
I was reading a thread in this group about ideas for projects
to get good at assembly language and was reminded of something
I meant to do for a long time and that was compiling a list
of programming projects/puzzles for people to use, as a "sourcebook"
of ideas. I used to have a file of these things but lost it a
longtime ago so I'm starting afresh and this time I will put them
onto my website so anyone can access them. Anyway I'm mainly
writing to post this first one which occurred to me the other
day as I heard a radio broadcast which sounded like coded
information ( all was computer generated digitised speech
of letters of the alphabet; Charlie, Papa, Uniform...).
I'd be most delighted if anyone produces a working program
to see what they come up with! Well, have fun... :)
bestwishes
laura
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~PROJECT #1~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simple cipher breaker
A simple (substitution) cipher is defined as;
f{0,1,2,......,n} -> {a0,a1,a2,.....,an}
0,1,2,....,n represent the bytes to be encoded
a0,a1,a2,... represent the codes to replace them with
All values a0,a1,a2 must be unique and fit into a byte (0<=ai<=255)
Write a program that takes a data file which will be encrypted
using some simple cipher as detailed above. The program should
reverse engineer the cipher (as much as it can) and output
the decrypted message. It will do this by making the assumption
that the original (cleartext) message was in plain English.
The program can use a dictionary data file to help it determine
what might be plain English. Mostly it should contain words
(using upper and lowercase), it may contain numbers, punctuation
and even codes ( eg; "80x86" ) and will probably use some sort
of statistical analysis to help it determine what is likely
to be plain English. You can test the program using the widely
available ROT13 to encode some arbitary document and seeing
if the program successfully decodes it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~PROJECT #1~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
echo alru_aafriehdab@xxxxxxxxxxxxx |sed 's/\(.\)\(.\)/\2\1/g'
.
- Follow-Ups:
- Re: Programming project #1
- From: Evenbit
- Re: Programming project #1
- From: toby
- Re: Programming project #1
- From: Herbert Kleebauer
- Re: Programming project #1
- Prev by Date: Re: Release of RosAsm V.2.025a
- Next by Date: What happened to Hygram?
- Previous by thread: How to?
- Next by thread: Re: Programming project #1
- Index(es):