how can there be same md5 value for two different length strings -


i have md5 function have confirmed work both files , strings. when use on variable sized chunks of large files generates md5 values same size of chunks different.

i wonder if there probability 2 chunks different lengths may be same content result in similar md5 fingerprints.

the odds happens 1 / (2^128), since md5 128-bit hash. means 1/(3.4 x 10^38), it's unlikely not impossible.

it's more probable, think, you're doing wrong , calculating md5 of same text/file every time.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -