3 ms·
They do, but what I'm interested in is if it's something that actually occurs in real data (with SHA256, in the article he says that it's of more use with "wors
by m_eiman 17y ago
They do, but what I'm interested in is if it's something that actually occurs in real data (with SHA256, in the article he says that it's of more use with "worse but faster" hashing algorithms).
My initial remedy is to add another hash method and name the data based on the results of both; that way problematic data would need to trigger a collision in two different algorithms at the same time, which "should" be next to impossible. Currently my file fragments are named "{SHA256}.dat", in v2 I could instead name them "{SHA256}{SOME_OTHER_HASH}.dat".
- jcsiracusa 17y agoRegarding the "should" part: http://stackoverflow.com/questions/1323013 http://stackoverflow.com/questions/1323013
- m_eiman 17y agoGood stuff! Perhaps it's safe to remove the "" qualifier from my assumption.