#fingerprint #hash

sys umash-sys

FFI wrappers for the umash hash/fingerprint function

6 releases (1 stable)

1.0.0 Jan 19, 2025
0.6.1 Oct 6, 2024
0.3.0 Oct 5, 2024
0.2.0 Aug 15, 2021
0.1.2 May 10, 2021

#1967 in Algorithms

28 downloads per month
Used in 3 crates (via umash)

MIT license

88KB
2.5K SLoC

C 1K SLoC // 0.2% comments Bitbake 847 SLoC // 0.1% comments Rust 549 SLoC

umash-sys: rust FFI bindings for UMASH

Build Status crates.io

UMASH is a family of fast hash / fingerprinting functions with collision bounds. This crate builds on x86-64 (with CLMUL) and little-endian aarch64 (with VMULL). The UMASH family of functions is defined independently of hardware specific features, so computes the same values on both architecture.

See https://github.com/backtrace-labs/umash for more details.

No runtime deps

~235KB