It should be impossible for an adversary to find two messages with substantially similar digests ; or to infer any useful information about the data , given only its digest .

Ideally , it should be impossible to find two different messages whose digests -LRB- `` hash values '' -RRB- are similar ; nor would one want an attacker to be able to learn anything useful about a message given only its digest .
