3 ms·
> A preimage attack is what you worry about if you think the person giving you the signature might be untrustworthy, e.g., they're currently promising one thing
by Moodles 8y ago
> A preimage attack is what you worry about if you think the person giving you the signature might be untrustworthy, e.g., they're currently promising one thing but they might swap it out with something else later. A collision attack is what you worry about even if you don't think the person giving you the signature is untrustworthy and you're expecting someone else to swap out the document before it gets to you
You mean vice versa right?
Untrustworthy person: could make a collision before giving you the input and mess you around.
Trustworthy person doesn't do that (because they are trustworthy). But someone might find a second pre-image attack and do it later on
- geofft 8y agoYes, sorry. Please swap "preimage attack" and "collision" in that entire paragraph: I meant to say there were cases where you don't care about a collision (as demonstrated for SHA-1) but you do care about a preimage (not yet demonstrated, but certainly a risk).