Rating:

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