XOR

XOR the input with the given key. e.g. fe023da5

Input: Text (UTF-8) or original file bytesResult: Binary bytes

Text input

Run to see the result

Examples

Example keys and passwords are public test material.

Inspect byte arithmetic on bitcoin genesis newspaper headline

Input

a6d72baa3db900b03e70df88.bin

69 bytes

Download

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000074 48 45 00 74 49 4d 45 53 00 10 13 0f 6a 41 4etHE.tIMES....jAN
000000100f 12 10 10 19 00 63 48 41 4e 43 45 4c 4c 4f 52......cHANCELLOR
0000002000 4f 4e 00 42 52 49 4e 4b 00 4f 46 00 53 45 43.ON.BRINK.OF.SEC
000000304f 4e 44 00 42 41 49 4c 4f 55 54 00 46 4f 52 00OND.BAILOUT.FOR.
0000004042 41 4e 4b 53BANKS
Key
{"option":"Hex","string":"20"}
Scheme
Standard
Null preserving
Off
Inspect byte arithmetic on a registry credential from kubernetes documentation

Input

fe1f3840edb48d1963b07a5b.bin

14 bytes

Download

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000054 49 47 45 52 1a 50 41 53 53 11 12 13 14TIGER.PASS....
Key
{"option":"Hex","string":"20"}
Scheme
Standard
Null preserving
Off
Inspect byte arithmetic on a checksum-sensitive log line with a final newline

Input

df94d052096ee71cc4419345.bin

26 bytes

Download

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000045 56 45 4e 54 1d 44 45 50 4c 4f 59 00 53 54 41EVENT.DEPLOY.STA
0000001054 55 53 1d 52 45 41 44 59 2aTUS.READY*
Key
{"option":"Hex","string":"20"}
Scheme
Standard
Null preserving
Off
Inspect byte arithmetic on a french café in precomposed unicode

Input

850f7dc43910ff890f8879c0.bin

5 bytes

Download

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000043 41 46 e3 89CAF..
Key
{"option":"Hex","string":"20"}
Scheme
Standard
Null preserving
Off
Inspect byte arithmetic on a french café with a separate combining accent

Input

81ef060bcd98adc7824eb5c1.bin

6 bytes

Download

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000043 41 46 45 ec a1CAFE..
Key
{"option":"Hex","string":"20"}
Scheme
Standard
Null preserving
Off
Inspect byte arithmetic on chinese text in a utf-8 request body

Input

46932f1e6ea5216e77f58b19.bin

15 bytes

Download

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
00000000c4 9d 80 c5 85 9d cf 9c ac c4 98 b6 c7 b5 ac...............
Key
{"option":"Hex","string":"20"}
Scheme
Standard
Null preserving
Off
Inspect byte arithmetic on a literal plus and space inside a url parameter

Input

16f7aa833be1220104d7ac50.bin

18 bytes

Download

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000052 45 4c 45 41 53 45 00 4e 4f 54 45 53 0b 61 0fRELEASE.NOTES.a.
0000001062 1fb.
Key
{"option":"Hex","string":"20"}
Scheme
Standard
Null preserving
Off

Options Null preserving: If the current byte is 0x00 or the same as the key, skip it. Scheme:Standard - key is unchanged after each round Input differential - key is set to the value of the previous unprocessed byte Output differential - key is set to the value of the previous processed byte Cascade - key is set to the input byte shifted by one

Format reference: XOR background and specification

Related tools

Browse encryption / encoding tools