nilsimsa 0.2.0

Implementation of the Nilsimsa locality-sensitive hashing algorithm.
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented2 out of 6 items with examples
  • Size
  • Source code size: 17.32 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 522.27 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Spanfile/nilsimsa
    5 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Spanfile

nilsimsa

Implementation of the Nilsimsa locality-sensitive hashing algorithm.

Compared to "traditional" hash functions (cryptographic or not), a small modification to the input does not substantially change the resulting hash. This crate contains the Nilsimsa utility to calculate Nilsimsa hash digests, as well as a compare function for given digests.

Usage

let mut hasher = Nilsimsa::new();
hasher.update("input string");
hasher.update("more strings");
let digest = hasher.digest();