Assignment title: Information
IFN642 Applied Cryptography and Network Security
1 | P a g e
Introduction to Diffie-Hellman
Exercise – Exploring Templates
CrypTool provides templates for many of the basic combinations of primitives. If there is a primitive
you are interested in, the templates section if often a good point of reference. To start this practical
we are going to explore and modify several templates around Diffie-Hellman.
Activity 1. Exploring Diffie-Hellman
Open the Diffie-Hellman Key Exchange template. Try running the program by pressing the Play
button, in the ribbon menu.
a) How does the Diffie-Hellman exchange work?
b) Why couldn't an adversary calculate the secret value?
IFN642 Applied Cryptography and Network Security
2 | P a g e
Activity 2. Explore AES Diffie-Hellman Video Chat.
Open the Diffie-Hellman AES Video Chat template. Try running the program by pressing the Play
button, in the ribbon menu.
a) Try entering messages into text input and see what happens.
b) How is the shared key calculated?
c) How is the key used?
Assessment Challenge – Diffie-Hellman AES File Encryption
Task 1. Modify Diffie-Hellman AES Video Chat Template to exchange key and encrypted files over a
network.
a) Remove the existing video and text elements.
b) Add file input and outputs to enable file transfer.
Preparing your results
At the end of this practical please submit a report, which should consist of a copy of the source
(.cwm) file that you had at the end of task 1, and a 2 page pdf with a screen shot and text explaining
how it is done.