SSDEEP哈希算法结果的最大长度

Maximum length of SSDEEP hash algorithm's result

我找不到任何有关使用 ssdeep hash algorithm 计算的哈希值最大长度的信息。

我想通过其十六进制摘要表示将 ssdeep 哈希值存储在数据库中,但因此我需要指定该值的长度。

所以我查看了 fuzzy.h and its documentation 找到答案的地方。

宏被称为 FUZZY_MAX_RESULT。它定义了148个ASCII字符/字节的散列值的最大长度:

#define SPAMSUM_LENGTH 64
#define FUZZY_MAX_RESULT (2 * SPAMSUM_LENGTH + 20)

The longest possible length for a fuzzy hash signature (without the filename)