Link: Top-grade, SHA1 Encryption - The Daily WTF
And then came the "data breach" email — everyone's personal data (which, for Paul, was just his throw-away email) was now in the hands of some hackers.
Great post from the Daily WTF - shows off how it's very easy to end up in a bad situation when you have good crypto, implemented badly. Implementation is everything, and if you don't understand how to use it then you might end up completely negating any security that you'd hoped to gain.
If you're having trouble working out what's going on in the code snippet, drop me a comment and I'll explain.
