News for hackers. Stuff that matters.
Re:RC4 is kind of broken in TLS by stouset on Tuesday March 12, 2013 @10:30PM (#5366433)
I think Thomas Pornin's [reply](http://security.stackexchange.com/questions/20464/when-authe...) (and our subsequent back-and-forth) to a question of mine on the security StackExchange highlights exactly how hard it is to Encrypt-Then-MAC yourself properly.

You should use a separate key for the encrypt phase and MAC phase. You must MAC the ciphertext, the IV, the authenticated data, and possibly a specifier for the encryption algorithm. You must also construct the MAC'd string in a way that prevents tampering with field boundaries.

Re:RC4 is kind of broken in TLS by tptacek on Wednesday March 13, 2013 @12:17AM (#5366784)
Just to be clear, these are all details GCM takes care of.
Re:RC4 is kind of broken in TLS by stouset on Wednesday March 13, 2013 @08:16PM (#5372171)
Yes, absolutely. Use GCM (or XSalsa20Poly1305) whenever possible.