Two Symmetric Encryption Technologies
Definition: A nibble is a 4 bit string. Thus, a byte is composed of two nibbles.
The Method:
p= [ 3,10, 8, 0,11, 6, 5, 9, 2, 7, 1, 4]
p∘p=[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11]
CodeIt to nibbles → 436F64656974 p → F76446496536 to "ASCII" → ÷dFIe6
4 is in the 0th position so it goes to the 3rd position, and F is in the 3rd position so it goes to the 0th position
The Table:
⊻ | 0 | 1 |
0 | 0 | 1 |
1 | 1 | 0 |
The Equation:
X⊻(Y⊻Y) = (X⊻Y)⊻Y = X
For our purposes (X⊻Y)⊻Y = X is the relevent part of the equation.
The Method:
An Example:
The Mask m:
1011001011001110
Mask:
The Result:
ñ¡ = 1111000110100001
Mask Again:
The
Result:
Co = 0100001101101111