Homeworks
Homework 1
Homework 1
. The relevant files for the final question are the
ciphertext
, the
encryption algorithm
, and the
decryption algorithm
. Here is an
additional ciphertext
encrypted using the same key.
Homework 1 solutions
. Programs for
determining the period
and
finding a character of the key
are also available.
Homework 2
Homework 2
. The relevant files for the final question are the
seven ciphertexts
(one per line), and the
encryption code
.
Homework 2 solutions
.
Homework 3
Homework 3
.
Homework 3 solutions
.
Homework 4
Homework 4
. The relevant files for the first question, including a README file explaining them, are
here
.
Homework 4 solutions
.
Homework 5
Homework 5
. The relevant file for the last question is
here
.
New:
download
these files
and test your attack remotely.
Homework 5 solutions
.
Homework 6
Homework 6
.
Homework 6 solutions
.
Practice problems
about public-key encryption.