Hoe to key generation
The 10-bit key is transformed into two 8-bit sub-keys K1 and K2.
Example:
P10 = { 3, 5, 2, 7, 4, 10, 1, 9, 8, 6}
P8 = { 6, 3, 7, 4, 8, 5, 10, 9}
K = 10100 00010
P10 10000 01100
LS-1 00001 11000 -> P8 -> K1 = 1010 0100
LS-2 00100 00011 -> P8 -> K2 = 0100 0011
No comments:
Post a Comment
comment.........