| |
Binary values assigned to each character |
| Ciphertext | G | F | A | F |
|---|
| Ciphertext Binary Values | 0110 | 0101 | 0000 | 0101 |
| One-Time Pad | J | F | N | B |
|---|
| Pad Binary Values | 1001 | 0101 | 1101 | 0001 |
| |
Result of a bitwise XOR operation between the two binary values |
| value1 | 0110 | 0101 | 0000 | 0101 |
| value2 | 1001 | 0101 | 1101 | 0001 |
| value1 XOR value2 | 1111 | 0000 | 1101 | 0100 |
| |
Characters assigned to each resulting binary value |
| Plaintext Binary Values | 1111 | 0000 | 1101 | 0100 |
| Plaintext | P | A | N | E |
|---|