Great writeup! If you want to work on a similar problem that targets the fundamental insecurity of ECB mode to the same end, we have an exercise that walks you through it here:
I wonder how long he worked to craft the excellent analysis and crack software? I know an attacker would be motivated to do this but he spent the effort just for a blog post? I'm very happy he did.
In case anyone is concerned, this bears repeating: This attack broke CodeIgniter 2's poorly designed Encrypt class, but CodeIgniter 3's Encryption class offers authenticated encryption.
If you're still using CodeIgniter 2, upgrade.
If you're using CodeIgniter 3, make sure you're not using Encrypt.
This is because we want good stories to have multiple chances at making the front page. The current story is a great example. In fact, we invited tdurden to repost it, as we sometimes do when we notice an article that we think the community might find interesting, but which fell through the cracks.
We're working on a better duplicate handling system that will reduce the number of reposts in the story stream, but getting it right is surprisingly subtle, and we'd rather take longer than get it wrong.
I wonder if it would be sufficient to show the author the other posts and ask if they still want to post it. Let them self select if they think someone else said it better or sooner.
http://cryptopals.com/sets/2/