Symmetric
XOR Cipher
Combines each byte with a repeated key byte using XOR.
Playground
Change inputs and inspect the transformation
XOR is reversible: applying the same key stream again recovers the message.
Output
Cipher bytes
27 20 38 39 2b 59 28 37 20 3b 31 36
Decrypted
LEARN CRYPTO
Steps
Transformation trace
Repeat key
key => keykeykeykey
The key stream repeats until it matches the message length.
Encrypt
message byte XOR key byte => 27 20 38 39 2b 59 28 37 20 3b 31 36
XOR produces byte values, shown here in hex.
Decrypt
cipher byte XOR key byte => LEARN CRYPTO
Applying the same key stream again cancels the XOR.