Type text to see how computers represent it at the byte level. Hover the 0x badges for tips.
For each character, we split the 8-bit binary into two nibbles and map them to hex.
| Decimal | Binary (4-bit) | Hex |
|---|
XOR is reversible: C = P XOR K and P = C XOR K. Try a one-character key first.
Same operation decrypts it because XOR is its own inverse.
0x41 = decimal 65 = 01000001.