Show HN: Go version of HighwayHash with optimized assembly implementations
1–10 of 14 posts
Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#2Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#3How does performance compare with XXhash, possibly the current leader in the non-cryptographic hash category?
Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#4How does performance compare with XXhash, possibly the current leader in the non-cryptographic hash category?
The benchmarks on the xxHash Github page were done on a 32-bit system using an old Visual C++ compiler. Of course you can beat hash functions that were explicitly designed for modern 64-bit architectures. The Core 2 lacks the CRC instruction introduced by the SSE 4.2 extension, which is the main reason Google wrote their hashes.
Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#5Earlier quoted context omitted.
The benchmarks on the xxHash Github page were done on a 32-bit system using an old Visual C++ compiler. Of course you can beat hash functions that were explicitly designed for modern 64-bit architectures. The Core 2 lacks the CRC instruction introduced by the SSE 4.2 extension, which is the main reason Google wrote their hashes.
xxHash has a 64-bit version.
Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#6I also appreciate this line in the README: "HighwayHash is not a general purpose cryptographic hash function (such as Blake2b, SHA-3 or SHA-2) and should not be used if strong collision resistance is required"
I am curious to know what the threshold for "strong collision resistance" is.
Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#7Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#8How does performance compare with XXhash, possibly the current leader in the non-cryptographic hash category?
The current leaders are on my smhasher site, https://github.com/rurban/smhasher/
Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#9This seems incredibly fast. Taking the benchmarks on the sites at face value, this seems like it's roughly twice as fast as xxHash. I also appreciate this line in the README: "HighwayHash is not a general purpose cryptographic hash function (such as Blake2b, SHA-3 or SHA-2) and should not be used if strong collision resistance is required" I am curious to know what the threshold for "strong collision resistance" is.
Re: Show HN: Go version of HighwayHash with optimized assembly implementations
#10This seems incredibly fast. Taking the benchmarks on the sites at face value, this seems like it's roughly twice as fast as xxHash. I also appreciate this line in the README: "HighwayHash is not a general purpose cryptographic hash function (such as Blake2b, SHA-3 or SHA-2) and should not be used if strong collision resistance is required" I am curious to know what the threshold for "strong collision resistance" is.
And also we've done some predictions for collisions, see: https://github.com/fwessels/HashCompare/issues/1#issuecommen...