Skip to content
Adam Omar Saleh

Thryve CTF 2026 placeholder badge (unofficial)Thryve CTF 2026Cryptography

FLAMINGO Multilayer Cipher

Title unconfirmed

Base45 / repeated Base64 / emoji bytes / Beaufort

Competition
Thryve CTF 2026 placeholder badge (unofficial)Thryve CTF 2026
Category
CryptographyMedium · estimated
Analysis status
Locally reverse-verified
Document
Original PDF

01Challenge analysis

The problem

A pair of challenge files separated the key from ciphertext. key.enc encoded a keyword deeply; chall.enc encoded the message through multiple unrelated alphabets.

02Exploit or recovery path

How I solved it

  1. 01

    I decoded key.enc using Base45, then repeated Base64 decoding 31 times until the key FLAMINGO appeared.

  2. 02

    I processed chall.enc through its hexadecimal layer and extracted the embedded emoji-encoded values.

  3. 03

    I decoded the Base100-style emoji layer, accounting for the recorded +9 adjustment in the transformation chain.

  4. 04

    I applied the Beaufort cipher using FLAMINGO as the repeating key.

  5. 05

    I checked the candidate by reversing the encryption transformations in the earlier solve session.

Result

RECOVERED FLAG

Thryve{th1s_1s_fun_r1ght!}

Locally reverse-verified

Local Verification
Earlier analysis recorded reverse verification for the exact flag.
Evidence Limitation
The original encoded bytes are not available in the retrieved transcript.

Original document

Original PDF

The writeup as I first documented it.