hash-functions
Here are 200 public repositories matching this topic...
This one is all you @NoHatCoder :) Not sure what you have planned for that, but it seems like we should check in a copy of your blog post at some point when it is ready, just so people can understand what is going on here with hash levels. Maybe we make a "doc" directory? I can then link to it with the main readme.md (assuming GitHub actually has a way to do that... I will check).
- Casey
-
Updated
Jun 27, 2020 - Swift
-
Updated
Jun 4, 2020 - Go
Smhasher could mention that there is https://github.com/skeeto/hash-prospector which helps discovering nice constants and simple, but quite high quality hashes.
Currently the test vectors are missing some hashes from the Multicodec table. The missing ones should be added as especially hashed >0x80 are tricky as they need proper varint encoding. An example would be Blake2.
-
Updated
Jan 21, 2018 - C
The xxHash implementation doesn't produce predictable results when compared to python for strings (as in the given example.
I believe this is due to java's handling of character arrays: https://codeahoy.com/2016/05/08/the-char-type-in-java-is-broken/
We get predictable results when we dump to a byte array instead:
LongHashFunction.xx().hashBytes("test".getBytes()) gets the same output as
-
Updated
Sep 5, 2018 - JavaScript
-
Updated
Jul 30, 2019 - JavaScript
Manual should mention that check (-c) can be combined with hash option (--md5) for faster speed
I discovered that verifying hashes with -c is much slower than generating them.
I was using this command:
rhash -c --skip-ok download.sfv
iotop reported disk read speeds of 30 MB/sec and rhash was consuming 100% CPU.
Then I thought, how does rhash know that the SFV file contains MD5 hashes? It probably doesn't, and it runs all checksum algorithms when doing a check and see
-
Updated
Jun 26, 2020 - C
-
Updated
Mar 8, 2018 - Python
-
Updated
Jun 4, 2020 - Python
-
Updated
Dec 5, 2019 - C++
-
Updated
Dec 6, 2017 - C
-
Updated
Aug 26, 2019 - Scala
-
Updated
May 1, 2020 - C
-
Updated
May 5, 2019 - Go
-
Updated
Apr 28, 2020 - Shell
-
Updated
May 4, 2020 - C
-
Updated
Jun 29, 2017 - JavaScript
-
Updated
Aug 13, 2019 - Objective-C
-
Updated
Mar 8, 2020 - Shell
-
Updated
Feb 14, 2017 - Shell
-
Updated
Feb 8, 2020 - Julia
-
Updated
Sep 8, 2017 - JavaScript
Improve this page
Add a description, image, and links to the hash-functions topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the hash-functions topic, visit your repo's landing page and select "manage topics."
Currently, the benchmarks and SMHasher scores shown in README.md and xxhash.h are out of date. They should be updated, as XXH32 fails SMHasher and they don't include the newer hashes.