1. What is the algorithm used to check the validity of a password?
The algorithm is in 2 parts:
- Part 1: Lot of instructions (~30k) to calculate some constants.
- Part 2: Use these constants to calculate each of the 12 letters of the passwords.

2. This program relies on a specific trick. How does it work?
Most of the code is useless. Only the last instruction is useful.
At the end, the algorithm doesn't provide directly the letters of the password, but the index on a character array.

3. Can you recover the secret password? You must send 1 the valid password by email to pascal+sre25@mod-p.ch before Apr. 28th, 2025, 12h00 CET to validate this lab and get 10 points.
JFuzhFSI4YShfqE7
