Cargo Features
TLSH2 has no features set by default.
[dependencies]
tlsh2 = { version = "0.4.0", features = ["diff", "fast"] }
- diff
-
Enable ability to compute diff score between two TLSH.
This is behind a feature flag as it adds a 64k static array to the binary.Affects
util::mod_diff
,util::h_distance
… - fast
-
Enable joint lookup for faster Pearson hashing.
This is behind a feature flag as it adds a 64k static array to the binary.