Reply to post: Re: Context is King

Git fscked by SHA-1 collision? Not so fast, says Linus Torvalds

Richard 12 Silver badge

Re: Context is King

Everyone has always known that hashes aren't unique. Otherwise they'd be called compressed files instead of hashes (or digests).

The point of a cryptographic hash is twofold:

1) It should be extremely unlikely that a randomly corrupted copy of the item would result in the same hash as the perfect copy.

2) It should be infeasible for somebody to intentionally make two different and usable items that have the same hash.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon