Z: 12 34 56 78 90 ab (hex) K1: 00 00 00 00 00 12 34 56 K2: 00 00 00 00 00 78 90 ab encrypting: 61 61 61 61 61 61 61 61 [ASCII `aaaaaaaa'] After 1st DES text is: 15 ab 8b d9 08 8b 5e ec Output is: 64 25 c8 1a a2 be 83 19
Each student has a different key to break. For this, each student has one pair of plaintext-ciphertext.
The plaintext for all students is "DESsDead" (in hex: 44 45 53 73 44 65 61 64). The table of ciphertexts is available at http://www.eng.tau.ac.il/~yash/crypto-netsec/ex3-data.html. If you see that there is no ciphertext for your TEUDAT ZEHUT number contact the teacher.
Efficiency is important: try to minimize the enumeration space (how many times you do a DES encryption/decryption), and use reasonably efficient data structures. A well written program will run for several minutes on a PC running a 3GHz Pentium 4. If your program takes more than 30min to complete, you may be using an inefficient method.
Submission is both on paper and electronically.
TZ := your "Teudat Zehut" number (9 digits) Z := the key you broke (12 hex digits)