The type to store ssdeep digest after parsing. More...
#include <ffuzzy.h>
Data Fields | |
size_t | len1 |
Digest length for first block of the digest. | |
size_t | len2 |
Digest length for second block of the digest. | |
unsigned long | block_size |
Block size of the ssdeep digest. More... | |
char | digest [FFUZZY_SPAMSUM_LENGTH *2] |
Digest buffer for both blocks of the digest. More... | |
The type to store ssdeep digest after parsing.
This structure contains all information in the ssdeep digest in machine-friendly format. You can accelerate comparing fuzzy hashes by storing this type first.
ffuzzy_digest::block_size |
Block size of the ssdeep digest.
Technically, this is the block size of first block of the digest. Block size of the second block is twice as this.
ffuzzy_digest::digest |
Digest buffer for both blocks of the digest.
This buffer stores the digest in a compressed form. From the beginning, the buffer is formed like this:
Valid blocks in the buffer do not contain sequences of four or more identical characters.