Experiment 7: Encryption of plaintext using Twofish algorithm
Procedure
Welcome to the Twofish Encryption Simulator! Dive into the internal mechanisms of the Twofish algorithm and gain a clear, visual understanding of its 16-round encryption process.
→ Begin by entering a 16-character plain text message. This input will automatically be transformed into its corresponding 128-bit binary format.
→ Navigate effortlessly using the “next” and “previous” buttons. These controls guide you through each stage of the Twofish encryption procedure, allowing you to observe every transformation step-by-step.
→ Explore the conversion process. Your plain text is first converted into 128-bit binary and then into its hexadecimal representation. By clicking the appropriate buttons, students can view and understand these internal data transformations with clarity.
→ Visualize the hexadecimal data as a matrix, simplifying interpretation and helping you avoid the complexity of long, continuous data sequences.
→ Progress through the 16 rounds of the Twofish algorithm. At each stage, the simulator reveals the internal calculations for rounds 1 through k. Students are then challenged to determine the (k+1)th intermediate result. Provide the correct value, and the simulator will display the remaining rounds of the encryption process.
→ Reinforce your understanding with interactive visualization. Every internal step—from data representation to round operations—is clearly animated. A “Previous” button ensures you can revisit any stage for repeated practice and deeper comprehension.