XOR of two hexadecimal strings

Calculate XOR of two hexadecimal strings. By convention first string (byte array) is treated as source (or plaintext), second byte array is treated as key and looped if it is shorted than first one.

First ("source"/"plaintext") byte array as hex string:

Second ("key", looped if necessary) byte array as hex string:

Note: all characters outside hex set will be ignored, thus "12AB34" = "12 AB 34" = "12, AB, 34", etc. Strings are case-insensitive.

Note 2: using "FF" as key effectively negates all source bits.


source/key: remove "0x" groups from strings
output: use 0x and comma as separator (C-like)
output: insert newlines after each 16B

Cleaned source:

Cleaned key:

Output (XOR result) hex:

 "Cookie monsters": 8155195    Parse time: 0.001 s