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