Lab 2: Key Reuse Karlstad University
Install requirements.
$ sudo apt install python3
$ pip install -r requirements.txt
Run the program.
- Perform the crib drag by dragging the crib with
dragcrib.py
. - Then build the key with
makekey.py
.
$ python3 dragcrib.py
$ python3 makekey.py
- http://travisdazell.blogspot.com/2012/11/many-time-pad-attack-crib-drag.html
- https://crypto.stackexchange.com/questions/59/taking-advantage-of-one-time-pad-key-reuse
This document and the code in program.py is the work of Oscar Andersson for course DVGC20 at KAU.