Step 3e: P-box permutation
f = P(S1(B1)S2(B2)...S8(B8))
- The permutation table
16 7 20 21
29 12 28 17
1 15 23 26
5 18 31 10
2 8 24 14
32 27 3 9
19 13 30 6
22 11 4 25
Example:
- S(B) = 0101 1100 1000 0010 1011 0101 1001 0111
- f (R0, K1) = 0010 0011 0100 1010 1010 1001 1011 1011