Tags: optimization crypto 

Rating:

Prime optimization.

Original writeup (https://github.com/csivitu/CTF-Write-ups/tree/master/NahamCon%20CTF/Crpytography/Homecooked).