News for hackers. Stuff that matters.
Re:BLAKE3 1.0 by staticassertion on Monday July 26, 2021 @02:31PM (#27963299)
> You can't just do SHA256(key + message) to generate a safe MAC.

Can you explain this?

Re:BLAKE3 1.0 by dagenix on Monday July 26, 2021 @02:54PM (#27963644)
A Sha256 hash is just a dump of the internal state of the function. If you know the hash, you can keep running the hash function for more data and calculate a new hash for the original data with new data appended.
Re:BLAKE3 1.0 by maqp on Monday July 26, 2021 @03:57PM (#27964561)
What @dagenix said. See e.g. Thomas Pornin's answer here https://crypto.stackexchange.com/a/3979 for more details
Re:BLAKE3 1.0 by stouset on Monday July 26, 2021 @06:33PM (#27966291)
If you have the output

    h = SHA-256(k || m1)
you can easily compute a function `F(h, m2)` such that

    SHA-256(k || m1 || m2) = F(h, m2)
allowing you to forge a verifier for `m1 || m2` under `k` for any `m2` you wish without actually knowing `k`.