Encoding & Decoding

6 posts from HNF26 and picoCTF

Cryptographymedium

HNF26 - Textbook Perfect

The challenge provided an RSA modulus n, a public exponent e, and a ciphertext c: The small public exponent, e = 3, made me check whether a cube root attack would work ...

  • RSA
  • Hex
  • Python
General Skillsmedium

based

As the challenge description suggests, we must be equipped with basic knowledge of different data encodings in order to solve this challenge. However, there are many types of numerical encodings or data encodings used to represent data in different formats.

  • Binary
  • Hex
  • Octal
General Skillsmedium

ASCII Numbers

We are given a string of hexadecimal values, where each value corresponds to an ASCII character. Indeed, CyberChef can be useful in challenges like these.

  • ASCII
  • Hex
General Skillseasy

Lets Warm Up

This challenge is similar to previous warmup challenges(Warmed Up and 2Warm). For this challenge, we only have to convert hexadecimal(0x70) to decimal, then to an ASCII character.

  • Hex
  • ASCII
General Skillseasy

binhexa

We begin by connecting to the server by running nc titan.picoctf.net 61359. We are greeted with a barrage of questions related to binary operations. Once we answer the 6 questions and enter the results of the last operation in hexadecimal, we are awarded with the flag.

  • Binary
  • Hex
Forensicsmedium

WhitePages

This challenge was pretty interesting when I tried it, as I’ve never encountered a “blank” .txt file before. As per normal, we first download the provided file by using wget <link> to understand what we’re dealing with.

  • Binary
  • Hex
  • Python