trendmicro / tlsh

Other
732 stars 136 forks source link

support for input less than 256 bytes #52

Closed mauvew closed 6 years ago

mauvew commented 6 years ago

Does tlsh only support input longer than 256 bytes? As 256 bytes is fairly large amount of chars, does it support short sentences like "hello world, hello cat, hello dog" as the input string?

jonjoliver commented 6 years ago

Thanks I hope the changes to README clarified the issue

mauvew commented 6 years ago

Thanks a lot for the clarification.

Just wondering if using the force mode, will it affect the precision and performance?

jonjoliver commented 6 years ago

No charge to the hash generation algorithm Or the distance function.

The only change of the force option is to reduce the lower limit from 256 bytes to 50 bytes