Discuss: Wireless Security - How WEP works
by Arvind Doraiswamy
After going through the example mentioned, i am a bit confused that is, while doing the calculations using KSA algorithm i cannot understand the Step-2 calculation as mentioned below, i guess whether the calculations are correct or wrong:
The calculation mentioned in the example posted for Step 2:
i=1 j=2
State array: State[0]=2 State[1]=1 State[2]=0 State[3]=3
Password: K[0]=6 K[1]=2 K[2]=5 K[3]=8
j = [2 + S[1] + K[1]] mod 4 = 5 mod 4 = 1
Swap(State[1], State[2]) = Swap(1,0)
State[0]=2 State[1]=0 State[2]=1 State[3]=3
The calculation as per me should be:
i=1 j=2
State array: State[0]=2 State[1]=1 State[2]=0 State[3]=3
Password: K[0]=6 K[1]=2 K[2]=5 K[3]=8
j = [2 + S[1] + K[1]] mod 4 = 5 mod 4 = 1
Swap(State[1], State[1]) = Swap(1,1)
State[0]=2 State[1]=1 State[2]=0 State[3]=3
Please do advise whether am i correct or wrong by mailing on the above email id.
And if wrong please advise why?
Awaiting Your Response.
no one is explaining in appreciated way.When you explain something,it should be simple and using diagrams as well.
thank you
samantha