| |
Binary values assigned to each character |
| Ciphertext | O | F | G | P |
|---|
| Ciphertext Binary Values | 1110 | 0101 | 0110 | 1111 |
| One-Time Pad | I | L | I | M |
|---|
| Pad Binary Values | 1000 | 1011 | 1000 | 1100 |
| |
Result of a bitwise XOR operation between the two binary values |
| value1 | 1110 | 0101 | 0110 | 1111 |
| value2 | 1000 | 1011 | 1000 | 1100 |
| value1 XOR value2 | 0110 | 1110 | 1110 | 0011 |
| |
Characters assigned to each resulting binary value |
| Plaintext Binary Values | 0110 | 1110 | 1110 | 0011 |
| Plaintext | G | O | O | D |
|---|