News for hackers. Stuff that matters.
Re:Zig 0.4.0 Released by AndyKelley on Tuesday April 09, 2019 @12:22AM (#19611771)
I didn't put a lot of consideration into the algorithm in particular. I was going to do SHA-256 but somebody told me Blake was faster.

I haven't tested the performance of any other algorithms, but that's a completely swappable component. I'm sure the hash function will be swapped with a different one before 1.0.0 is done.

Re:Zig 0.4.0 Released by tiehuis on Tuesday April 09, 2019 @12:35AM (#19611829)
As an example, xxHash [1] would probably get you an easy 5-10x performance improvement over Blake2b. So there are some easy improvements if the cryptographic requirement is not needed.

[1] http://cyan4973.github.io/xxHash/

Re:Zig 0.4.0 Released by rurban on Tuesday April 09, 2019 @02:23AM (#19612269)
or better wyhash. xxHash and xxh3 still has some weaknesses.