Conversation:
Notices
-
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:26:30 EDT Jeff Ratliff
A piece of data will always give the same hash. Two different pieces of data can have the same hash. -
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:33:49 EDT Jeff Ratliff
Yes. Two different files might have the same hash. Although it's very very rare to encounter it. -
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:36:24 EDT Jeff Ratliff
That's part of why a hash can't be reversed. You would get multiple different answers and now know which is "correct". Joshua Judson Rosen likes this. -
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:36:46 EDT Jeff Ratliff
s/now/not -
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:44:25 EDT Jeff Ratliff
No, the same data will give the same digest. But 2 differnt messages can give the same digest. -
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:45:31 EDT Jeff Ratliff
I think of a hash as a shorthand way to refer to a much bigger piece of data. A thumbprint. Unique to that data, but not globally unique. -
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:47:50 EDT Jeff Ratliff
Yes. -
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:48:53 EDT Jeff Ratliff
Here is an article that helped me a lot: https://crackstation.net/hashing-security.htm -
Jeff Ratliff (gomerx)'s status on Tuesday, 29-Sep-2015 10:56:28 EDT Jeff Ratliff
You are looking for a cypher, not a hash. With a hash the # of inputs is way bigger than possible outputs. So collision is inevitable.
-