nilsimsa

Crates.ionilsimsa
lib.rsnilsimsa
version0.2.0
sourcesrc
created_at2020-10-26 22:21:47.170956
updated_at2020-10-30 11:56:06.438417
descriptionImplementation of the Nilsimsa locality-sensitive hashing algorithm.
homepage
repositoryhttps://github.com/Spanfile/nilsimsa
max_upload_size
id305766
size17,474
(Spanfile)

documentation

README

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();
Commit count: 9

cargo fmt