Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HammingDistance ¶
Calculate the hamming distance between two PDQ hashes. Input hashes should be 64-character hexidecimal strings. Returns a value between 0 (identical) and 256 (completely different).
func PdqHashToBinary ¶
Converts a 64-character hexidecimal PDQ hash into a 256-character binary string representation, useful for inserting into some vector stores.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.