Continued with Cryptography Engineering Book, read the chapter on hash functions...
Michael Pedersen @pedersen@c.im
Continued with Cryptography Engineering Book, read the chapter on hash functions. The big surprise was that sha256 is susceptible to a length extension attack. And the proposed fix is to hash the resulting hash. As it turns out, there are even better solutions out there. This seems to be a case of misuse of the tool: The hash was not originally designed to be a message authentication tool, but then started being used as one.