How Not to Learn Cryptography (2014)
I&#x27;ve been working through the Cryptopals Crypto challenges (<a href="https:&#x2F;&#x2F;cryptopals.com" rel="nofollow">https:&#x2F;&#x2F;cryptopals.com</a>) over the last month-and-a-half (almost done with Set 6), and they&#x27;ve been extremely educational.<p>Attacks that I thought were just &quot;theoretical&quot; turned out to be very practical (sometimes even quite simple.) I&#x27;ve always known that one shouldn&#x27;t roll their own crypto because there&#x27;s so many ways to shoot yourself -- but holy hell, executing some of these attacks really drive the point through.<p>(Also, I&#x27;ve learned more number theory in the last few weeks than in my whole life!)<p>If anyone&#x27;s interested, I&#x27;ve been solving them in Go (which turned out to be surprisingly convenient for many reasons), and my solutions (so far) are here: <a href="https:&#x2F;&#x2F;github.com&#x2F;0xfe&#x2F;cryptopals" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;0xfe&#x2F;cryptopals</a>.