soatok@furry.engineer ("Soatok Dreamseeker") wrote:
What you want to do is choose unique prefixes (or whatever you do to separate inputs) for every distinct use case you have in your protocol.
The term for this is "domain separation".
What you DON'T want to do is prefix some values and then use a bare cryptographic function in other places.
For example, https://nebuchadnezzar-megolm.github.io/