Script started on Fri Mar 14 10:55:20 2003 iyoon@flop:>IDEA% Idea.flop.exe ************ WELCOME *************** This is Irwin Yoon's program illustrating IDEA (International Data Encryption Algorithm) ************************************ IDEA takes in a 128-bit key. User will enter 16 alphanumeric characters These 16 alphanumeric characters will be converted to a 128-bit key. (16 char * 8bits = 128 bits) Please enter 16 alphanumberic characters, then press enter 1234567890123456 Thank you. Original Key in text: 1234567890123456 Original Key 1st 32bits: 0x31323334 Original Key 2nd 32bits: 0x35363738 Original Key 3rd 32bits: 0x39303132 Original Key 4th 32bits: 0x33343536 MAIN MENU ========= Press 1 to print all Encryption/decryption keys Press 2 to encrypt plaintext with intermediate results Press 3 to decipher ciphertext with intermediate results Press 4 to encrypt, then decrypt (No intermediate results shown) Press 5 to quit Your choice: 2 ************ ENCRYPTION OF PLAINTEXT ********** Data block size is 8 bits. Therefore, please enter 8, 16, 24, 32 characters Your Plaintext input: orignmsg Results for Data Block 1 ======================= ROUND 1: Bits 1 to 32 0xb3ed9094 Bits 33 to 64 0x5e60845f ROUND 2: Bits 1 to 32 0xb2d4eb36 Bits 33 to 64 0x28ec51e4 ROUND 3: Bits 1 to 32 0x3a5d6544 Bits 33 to 64 0x1c7edf65 ROUND 4: Bits 1 to 32 0x753f1ba5 Bits 33 to 64 0x158308a6 ROUND 5: Bits 1 to 32 0xcaca3f82 Bits 33 to 64 0xf0093de0 ROUND 6: Bits 1 to 32 0xfb51712e Bits 33 to 64 0xa52edd1c ROUND 7: Bits 1 to 32 0x4d705436 Bits 33 to 64 0xd86d0291 ROUND 8: Bits 1 to 32 0x8a5cf829 Bits 33 to 64 0xbbc267a8 AFTER OUTPUT TRANSFORMATION AND SWAP: Bits 1 to 32 0x43da094f Bits 33 to 64 0xc6379d16 The Resulting Ciphertext ================================= Ciphertext in Hex: bits 001 to 032: 0x43da094f bits 033 to 064: 0xc6379d16 MAIN MENU ========= Press 1 to print all Encryption/decryption keys Press 2 to encrypt plaintext with intermediate results Press 3 to decipher ciphertext with intermediate results Press 4 to encrypt, then decrypt (No intermediate results shown) Press 5 to quit Your choice: 5 ****** Exiting IDEA program. Good bye. iyoon@flop:>IDEA% exit exit script done on Fri Mar 14 10:55:57 2003