#hash #fingerprint #umash

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

#21 in #fingerprint

Download history 154/week @ 2025-01-11 256/week @ 2025-01-18 169/week @ 2025-01-25 515/week @ 2025-02-01 192/week @ 2025-02-08 352/week @ 2025-02-15 183/week @ 2025-02-22 186/week @ 2025-03-01 254/week @ 2025-03-08 138/week @ 2025-03-15 149/week @ 2025-03-22 138/week @ 2025-03-29 327/week @ 2025-04-05 164/week @ 2025-04-12 160/week @ 2025-04-19 139/week @ 2025-04-26

838 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

~0–275KB