-
xxhash3 can supply hashes up to 128 bits and supports seeds and has pretty good speed on short inputs.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
highwayhash
Native Go version of HighwayHash with optimized assembly implementations on Intel and ARM. Able to process over 10 GB/sec on a single core on Intel CPUs - https://en.wikipedia.org/wiki/HighwayHash (by minio)
highwayhash (alt) provides 256 bits. Fast mainly for larger inputs and supports seeds.
-
highwayhash (alt) provides 256 bits. Fast mainly for larger inputs and supports seeds.
-
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.
SHA256 is high quality but typically a bit slower. Next Go version will have faster SHA256 on some amd64 CPUs - until then you can try sha256-simd which offers the same.
Related posts
-
The Curious Case of MD5
-
Beating GCC 12 - 118x Speedup for Jensen Shannon Divergence via AVX-512FP16
-
Show HN: Beating GCC 12 – 118x Speedup for Jensen Shannon D. Via AVX-512FP16
-
SimSIMD v2: Vector Similarity Functions 3x-200x Faster than SciPy and NumPy
-
SimSIMD v2: 3-200x Faster Vector Similarity Functions than SciPy and NumPy