Skip to main content
Challenges XOR and base64 layer
Cryptography Medium XOR and encoding layers Solves: 7

XOR and base64 layer

Author: CyberSamSU
Points
30

In practice, XOR is rarely encountered alone — an encoding layer is usually added on top of it, because the XOR result often consists of non-printable bytes and cannot be transmitted as text.

Three layers are used here:

  1. the flag is encoded with base64;
  2. the resulting ASCII string is XORed with a single unknown byte;
  3. the result is encoded with base64 again.

Unwrap the layers in reverse order:

ZlxxbWJcDmVSBlBAYlsOXnl/ek15XWVRVGNlB1VzZUN6YQ9AbgVQT1VwZk9RZgoK

When you unwrap the second layer, the result should again look like a base64 string — that is, it should consist only of A-Z a-z 0-9 + / = characters. This is the criterion for recognizing the correct key.

Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −3 pts Log in
Hint 2 −6 pts Log in
Hint 3 −9 pts Log in
To submit a flag, log in.

First solvers

1. Лазиз 04.10.2026
2. Mirjaxon Qaxxarov 26.10.2026
3. Odam 05.11.2026
4. arcanum 11.11.2026
5. Jasmin Xuseinova 15.11.2026
6. milanchka_26 19.11.2026
7. Doston Allayarov 28.11.2026