Optional configuration overrides.
An object with a calculateConfidence method.
Compare two fingerprint datasets and return a confidence score.
Reference (stored) fingerprint.
Incoming fingerprint to compare against.
An integer score in [0, 100] where 100 = exact match.
Returns 0 on unexpected errors.
Factory that creates a stateless fingerprint confidence calculator.
The returned object exposes a single
calculateConfidence(data1, data2)method that blends two complementary scoring strategies:userOptions.The two scores are blended:
final = structural * (1 - tlshWeight) + tlsh * tlshWeight.Options resolution order (highest priority first):
userOptions.weights/userOptions.comparators(local overrides)DEFAULT_WEIGHTSuseGlobalRegistryistrue)