| |
Binary values assigned to each character |
| Ciphertext | H | E | L | E |
|---|
| Ciphertext Binary Values | 0111 | 0100 | 1011 | 0100 |
| One-Time Pad | L | K | F | J |
|---|
| Pad Binary Values | 1011 | 1010 | 0101 | 1001 |
| |
Result of a bitwise XOR operation between the two binary values |
| value1 | 0111 | 0100 | 1011 | 0100 |
| value2 | 1011 | 1010 | 0101 | 1001 |
| value1 XOR value2 | 1100 | 1110 | 1110 | 1101 |
| |
Characters assigned to each resulting binary value |
| Plaintext Binary Values | 1100 | 1110 | 1110 | 1101 |
| Plaintext | M | O | O | N |
|---|