Unit 2 Part 6
Unit 2 Part 6
I love
Problem Statement Hi funny, matrices
I want to share 16 only
Bunny step coke recipe.
Funny
This is my original Input & key
Buddy
Hey Buddy,
I need four steps to make my
encryption secure. +
One more initial step
1. Preprocessing
2. Substitution
3. Shift Rows
4. Mix Columns
5. Add Key
Oops - I need very strong 10 rounds +1 preprocessing
step but I have only 4 words of key?????
Soln: Key Expansion to get 44 words of key ( 4 for every round)
Step 1: I don’t want to reveal original instructions to any
round of encryption.
I try to do Pre-processing.
1 5 9 D
2 6 A E
=
3 7 B E1
4 8 C E2
Step 2a) Substitution
Step 2b) Shift Rows
Step 2c) Mix Columns
Step 2d) AddKey
w4-w7
Initial Key Expansion 4 word key expanded into 44 word keys as 4 words of
key is needed at each step and totally there are
1 preprocessing + 10 rounds = total 11 steps
1. Preprocessing 4X4 I/P is ex-or with first four words of the key
/* Initialization */
for i = 0 to 7 do
S[i] = i;
T[i] = K[i mod keylen];
Step 1b) Permutation of S with respect to T.
S = [ 0 1 2 3 4 5 6 7]
K = [1 2 3 6]
PLAIN = [1 2 2 2]
Step 2. Stream Generation