You must ofc 'salt' users passwords before hashing them to stop with the ability to recover the original password from the hash. $endgroup$In the event the keys are strings (or integers), a trie is usually another choice. A trie is usually a tree, but indexed in different ways from a look for tree: you write The important thing in binary, and go st