Explore the fascinating world of symmetric encryption through interactive visualizations
Original data divided into fixed-size blocks
Generate round keys from master key
Apply multiple rounds of transformations
Encrypted output blocks
Rearrange bits according to initial permutation table
The initial permutation rearranges the 64-bit input block according to a predefined table. This step provides diffusion by spreading the influence of each input bit across multiple positions.
Apply substitution and permutation operations
Each round uses a round key derived from the main key. The data is split into left and right halves, with the right half being processed through S-boxes and P-boxes, then XORed with the left half.
Apply the inverse of the initial permutation
The final permutation is the inverse of the initial permutation, completing the encryption process and producing the final ciphertext block.
Each bit of the ciphertext depends on multiple bits of the key, making it difficult to find relationships between the key and ciphertext through statistical analysis.
A single bit change in the plaintext results in changes to approximately half of the ciphertext bits, spreading the influence throughout the entire block.
Small changes in input produce large changes in output, ensuring that similar plaintexts produce very different ciphertexts for security.
Multiple keys derived from the master key are used in different rounds, providing additional security layers through key scheduling algorithms.