You'll want to ofc 'salt' people passwords right before hashing them to avoid 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 option. A trie is really a tree, but indexed differently from a lookup tree: you publish The real key in binary, and go re