highwayhash
xxh3
highwayhash | xxh3 | |
---|---|---|
2 | 3 | |
857 | 380 | |
0.6% | - | |
2.7 | 2.7 | |
8 days ago | about 1 year ago | |
Go | Go | |
Apache License 2.0 | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
highwayhash
-
Can I concatenate multiple non-crypto hash functions to reduce collision?
highwayhash (alt) provides 256 bits. Fast mainly for larger inputs and supports seeds.
-
Fastest way to encode []int8 to bytes hash ?
HighwayHash can produce 256 bit output, if you really need a hash that long.
xxh3
-
SIMD in Go
Not sure what you are thinking about with regard to parallel. Maybe you are thinking of xxhash 3. Both operate so close to memory speed that doing parallel blocks and merging them will probably always be slower.
-
Can I concatenate multiple non-crypto hash functions to reduce collision?
xxhash3 can supply hashes up to 128 bits and supports seeds and has pretty good speed on short inputs.
-
Fastest way to encode []int8 to bytes hash ?
If you can live with 16 bytes output and non cryptographic quality xxhash 3 you can use Hash128(values).Bytes().
What are some alternatives?
c2goasm - C to Go Assembly
sha256-simd - Accelerate SHA256 computations in pure Go using AVX512, SHA Extensions for x86 and ARM64 for ARM. On AVX512 it provides an up to 8x improvement (over 3 GB/s per core). SHA Extensions give a performance boost of close to 4x over native.
go-highway - Go implementation of Google's HighwayHash
xxhash - A Go implementation of the 64-bit xxHash algorithm (XXH64)
SimSIMD - Up to 200x Faster Inner Products and Vector Similarity — for Python, JavaScript, Rust, and C, supporting f64, f32, f16 real & complex, i8, and binary vectors using SIMD for both x86 AVX2 & AVX-512 and Arm NEON & SVE 📐
BLAKE3 - the official Rust and C implementations of the BLAKE3 cryptographic hash function
xdg-go - Go implementation of the XDG Base Directory Specification and XDG user directories
intrinsics - Experiment with Go intrinsics (NOT USABLE)
xxHash - Pure Go implementation of xxHash (32 and 64 bits versions)
go-simd - SIMD implementation in Go