Challenges
XOR properties
Cryptography
Easy
XOR properties
Solves: 9
XOR properties
Author: CyberSamSU
Points
15
The XOR operation has four golden rules:
- Commutativity:
a ^ b = b ^ a— order does not matter. - Associativity:
(a ^ b) ^ c = a ^ (b ^ c)— parentheses do not matter. - Self-cancellation:
a ^ a = 0. - Identity element:
a ^ 0 = a.
It follows from these four rules that if several keys have been applied sequentially, they can be removed in any order.
We have three keys and the encrypted result. The result was obtained as follows: MIX = BAYROQ ^ K1 ^ K2 ^ K3. Recover the flag.
K1 = 9eedb691864d93b9d5be2882365baf2226b7e3882c0b6d91d2df7829521b42732760fc18f0
K2 = 214685d4051b9baf6de8ce29595ab494c85230ab44fa0bb585a90b3fb24f5b3b04935e1a37
K3 = 8e0531bb287883681633754082334a7a70c6ae31a25d2927f4edeee0be925cf6bdd255936a
MIX = 73ef5bace47ff0269e37ccdf9e4161b8ed124966fbda107597c4f6c633ab30caaa55c6e7d0
To submit a flag, log in.