Skip to content
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

switches to Fowler-Noll-Vo hash algorithm for hashing names #1221

Merged
merged 1 commit into from Sep 16, 2020

Conversation

ivg
Copy link
Member

@ivg ivg commented Sep 16, 2020

The previous algorithm had a very bad collision rate, especially for
small strings. The new one is much better and is tested on large
dictionaries (of English words and large password databases,
with no collisions found) and is guaranteed not to collide on small strings,
which were tested exhaustively.

Warning: the change of the hash function will break the knowledge base
format so do bap --cache-clean after the update.

The previous algorithm had a very bad collision rate, especially for
small strings. The new one is much better and is tested on large
dictionaries (of English words and password) and is guaranteed not
to collide on small strings.

Warning: the change of the hash function will break the knowledge base
format so do `bap --cache-clean` after the update.
@ivg ivg merged commit 0daabc7 into BinaryAnalysisPlatform:master Sep 16, 2020
@ivg ivg deleted the better-name-hash branch December 1, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant