This question already has an answer here:
- Why hash or salt when signing? 3 answers
I've had an assignment to sign a file using hash and salt, so I read about salt and I got why it's important when it comes to password, but not to sign messages.
How do I sign something using salt? The only way I could think of is that I add the salt to the message then hash both and then send the hash along with the salt (encrypted of course)… but it makes no sense to me.
Even if what I said earlier is how it's done, it's not useful at all. How and why would I use salt to sign a message ?