Crates.io | autobahn-hash |
lib.rs | autobahn-hash |
version | 0.1.0 |
source | src |
created_at | 2023-06-06 00:18:32.916864 |
updated_at | 2023-06-06 00:18:32.916864 |
description | An implementation of HighwayHash, a fast and strong SIMD hash function |
homepage | |
repository | https://github.com/calebzulawski/autobahn-hash |
max_upload_size | |
id | 883433 |
size | 282,271 |
A pure Rust implementation of HighwayHash.
A few highlights:
unsafe
This crate requires the portable_simd
nightly feature.
The following benchmarks were done on an Intel i7-9750H, to give an idea of the performance profile. These two benchmarks can help predict best- and worst-case performance.
The HighwayHash algorithm performs best on long slices of data:
Worst-case performance can be predicted with non-slice data: struct Data(u8, u16, u32, u64);
AutobahnHash is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.