logoalt Hacker News

jeffrallenyesterday at 9:19 PM0 repliesview on HN

It's a big if because the threat model normally includes "bad guys can forge messages". Which means that the input is untrusted and you want to generate your own domain separation bytes for the hash function, not let your attacker choose them.