| |
Binary values assigned to each character |
| Ciphertext | L | F | P |
|---|
| Ciphertext Binary Values | 1011 | 0101 | 1111 |
| One-Time Pad | K | F | M |
|---|
| Pad Binary Values | 1010 | 0101 | 1100 |
| |
Result of a bitwise XOR operation between the two binary values |
| value1 | 1011 | 0101 | 1111 |
| value2 | 1010 | 0101 | 1100 |
| value1 XOR value2 | 0001 | 0000 | 0011 |
| |
Characters assigned to each resulting binary value |
| Plaintext Binary Values | 0001 | 0000 | 0011 |
| Plaintext | B | A | D |
|---|