Hacker News new | ask | show | jobs
by jeffrallen 79 days ago
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.