Assignment 1
There are two files in this folder:
- ciphers.txt
- Contains a set of ciphers.
Each cipher is on a single line.
Each line is formatted as a Tcl List
The list elements are:
- The name of this cipher
- The original alphabet for this cipher
- The cipher text alphabet
- cipherText.txt
- A set of messages taken from the Linux
fortune
program.
Each message is on a single line.
Each line is formatted as a Tcl list
The list elements are:
- Name of cipher used to encrypt this line
- Encrypted data
Write an application that will read the lines from these two files,
use the name information to identify the correct cipher,
decipher the message and puts
the plaintext for each
message to the standard output.
This assignment can be solved using only global scope code and commands
we've discussed in class or used in the previous labs. You do not need
to use procedures (but you may if you wish.)
Copyright Clif Flynt 2010