Module ssdeep::BlockSize

source ·
Expand description

Utility related to block size part of the fuzzy hash.

See also: “Block Size” section of FuzzyHashData

Constants

  • The minimum block size of a fuzzy hash.
  • The number of valid block sizes.

Functions

  • Compares two base 2 logarithm form of the block size values for ordering.
  • Compare two base 2 logarithm form of the block size values to determine the relation between two block sizes.
  • Converts base 2 logarithm form of the block size to the actual one.
  • Checks whether base 2 logarithm form of the block size is valid.
  • Checks whether two base 2 logarithm form of the block size values form a near relation (one of the three near cases).
  • Checks whether two base 2 logarithm form of the block size values form a BlockSizeRelation::NearEq relation.
  • Checks whether two base 2 logarithm form of the block size values form a BlockSizeRelation::NearGt relation.
  • Checks whether two base 2 logarithm form of the block size values form a BlockSizeRelation::NearLt relation.
  • Computes the base 2 logarithm form of a valid block size.
  • Computes the base 2 logarithm form of a valid block size but do not check whether the block size is valid.