Rating:

Original writeup (https://pwnthemole.github.io/reverse/2018/10/18/PicoCTF2018-KeyGen2.html).