Linear-feedback. Shift. Register.
90 points Hard

Hello!

I have just implemented a super-cool PRNG!

I've used every next generated by it number to XOR every next character in my super-secret message with.

Are you able to retrieve it?

Btw. Biggest possibly generated number by my PRNG is 255.

Psst. The retrieved message would be your flag!

As always, starting with: CTFlearn{...

I'm giving you the PRNG scheme with a brief description (description.png) and a "secretMessage.hex" file with every byte being the corresponding message char inside PRNG.zip file.

PRNG.zip
Flag
Rating 5.00
5
4
3
2
1

Discussion

Wiki title. Once you fully understand the idea of the N mask, you can solve by trial and error with python string and xor skills. You should also be fluid in representing ascii strings in binary format to see what is happening with patterns...

0
Protected
2

Great solution :)

1

Very good challenge

1

Thank you :)

1

remember format of the flag

1

The nice one! We have to do many steps by hand to find the seed key

1

Thanks! It depends on an approach ;)

1