Skip to main content
Challenges Hex
Cryptography Easy Solves: 84

Hex

Points
10

Hexadecimal — Decoding encrypted text

When we encrypt data, the resulting encrypted text (ciphertext) usually consists of non-printable bytes from the ASCII table. To share or store such data across different systems, it is common practice to convert it into a readable format.

In such cases, the base-16 numeral system (hexadecimal) is useful. Each character is converted to its number according to the ASCII table, and then that number is converted from decimal to hexadecimal. The resulting numbers are written sequentially to form one long hex string.

Below, the flag (secret text) is given in hexadecimal form. To restore it to its original form, you need to convert the hex string into bytes.

Given hex string:

666c61677b4865785f736174726c61725f726171616d5f76615f686172666c617264616e5f69626f7261745f31366c696b5f6b6f646c6173687d

In Python, this process can be done using the bytes.fromhex() function, and conversely, to convert a byte string to hex format, you can use the .hex() method.

Useful resources:

To submit a flag, log in.

First solvers

1. Sherqobil Ishqobilov 22.10.2025
2. 🇺🇿Shodiev2604=21 22.10.2025
3. _radjabov_ 23.10.2025
4. Javohir 23.10.2025
5. , 25.10.2025
6. Ilyos Karimov 29.10.2025
7. Abduxalil 30.10.2025
8. Islombek Shavkatboyev 04.11.2025
9. ZverX 18.11.2025
10. Mirjaxon Qaxxarov 19.11.2025