crackmes.one

Writeup for prime

Author: anany
Date: 2023-05-24 21:57
Summary: We split the secret key into pairs of characters: Split String: ["11", "3e", "5c", "6e", "ac", "71", "35", "8d", "3a", "47", "27", "63", "9f", "55", "f0", "24", "57", "56", "5a", "e5", "76", "62", "a2", "a2", "72", "76", "10", "d8", "46", "46"] We perform XOR operations between each pair of characters and the corresponding character from the salt string. The result will be a series of decimal values. For each decimal value obtained, we brute force the exponent from 0x20 to 0x7e (printable ASCII range). We calculate (129 ^ exponent) % 251 and compare it with the decimal value. When a match is found, we have recovered the original character. We repeat this process for each decimal value, reconstructing the original password character by character.

Loading writeup...