If it is feasible to find a shorter password which hashes to your same worth as an extended password, the hashing algorithm is damaged. $endgroup$In the event the keys are strings (or integers), a trie could be another choice. A trie can be a tree, but indexed otherwise from a search tree: you write The crucial element in binary, and go still left … Read More