| |
Binary values assigned to each character |
| Ciphertext | N | P | O | P |
|---|
| Ciphertext Binary Values | 1101 | 1111 | 1110 | 1111 |
| One-Time Pad | P | L | F | E |
|---|
| Pad Binary Values | 1111 | 1011 | 0101 | 0100 |
| |
Result of a bitwise XOR operation between the two binary values |
| value1 | 1101 | 1111 | 1110 | 1111 |
| value2 | 1111 | 1011 | 0101 | 0100 |
| value1 XOR value2 | 0010 | 0100 | 1011 | 1011 |
| |
Characters assigned to each resulting binary value |
| Plaintext Binary Values | 0010 | 0100 | 1011 | 1011 |
| Plaintext | C | E | L | L |
|---|