Fake Encryption

Cryptography 200 pts standard
Challenge Description

Story: A script claims to encrypt data securely.

Goal:

  • Read the code

  • Realize it only reverses the string

  • Extract flag

Skill: Crypto logic flaws

Difficulty: Easy

Hints
View Hint

Hints:

Hint 1: Read the return statement carefully. What is the function actually sending back?

Hint 3: Python's [::-1] syntax is a common trick. Google what it does to a string!

Hint 3: If the flag is ABC, the output is CBA. Is that really encryption?

Submit Flag

Login to submit a flag.

← All Challenges