Expand description
LavinHash - High-Performance Fuzzy Hashing Library
Implements the Dual-Layer Adaptive Hashing (DLAH) algorithm for detecting file similarity with extreme efficiency.
Modules§
- algo
- Core algorithms for fuzzy hashing
- model
- Data models for LavinHash
- utils
- Utility functions for LavinHash
Structs§
- HFResult
- Result structure for FFI
- Hash
Config - Configuration for fuzzy hashing
Functions§
- compare_
hashes - Compare two fuzzy hashes and return similarity score (0-100)
- generate_
hash - Generate a fuzzy hash from input data
- hf_
compare - Compare two fuzzy hashes
- hf_
config_ free - Free configuration
- hf_
config_ new - Create a new configuration with defaults
- hf_
config_ set_ alpha - Set the alpha coefficient
- hf_
config_ set_ min_ modulus - Set minimum modulus for trigger detection
- hf_
config_ set_ parallel - Set parallel processing
- hf_hash
- Generate fuzzy hash from data
- hf_
result_ free - Free result buffer