-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lose entropy #49
Comments
I don't think so. because we keep the mask as secret. thus it can lose entropy with 2^-64 chance. |
The actual chance is For many applications, this is an unacceptable flaw. Therefore, users should know about the price of speed, in order to make their own conclusions and assess the risks (regardless of how you assess the severity of the problem). |
Thanks! |
It is clear that you can't fix the flaw without significantly slowing down wyhash. This is not a problem, wyhash is still a good and fast for many applications. However, you should not justify or gloss over this flaw. On the contrary, this should be well documented so that users understand exactly what is happening and can choose the speed provided by the wyhash with awareness. |
OK, my friend! |
@wangyi-fudan, I don't want to find fault, but still the current wording is not correct. Since with an increase in the length of the hashed data, the probability of losing something tends to 100%. I think it is better to formulate "at least
This value is small enough to be shy of it ;) |
Minor issue: the "FastestHash" it not a hash, but a do-nothing stub. |
The FastestHash does things, providing useful hashes for short strings in hash table. |
The scale=32 confused me ;-). |
PR #52 should improve this issue with very few runtime cost. |
Dear All: HashFunction Words Hashmap Bulk64K Bulk16M Cheers! |
It's not a deadly flu, just a very bad cold. Much less deadly than SARS or MERS, not talking about a really dangerous flu, like the Spanish flu. It's over in May with warm temperatures coming, hold on. |
@leo-yuriev described this issue on the README of t1ha hash.
The text was updated successfully, but these errors were encountered: