Rating:

Original writeup (http://ctf.yeuchimse.com/sharif-university-ctf-quals-2013-too-hard-crypto300/).