Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switches to Fowler-Noll-Vo hash algorithm for hashing names
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.
- Loading branch information
Showing
2 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters