You'll want to ofc 'salt' customers passwords prior to hashing them in order to avoid with the ability to Get well the original password from the hash. $endgroup$In the event the keys are strings (or integers), a trie is usually another choice. A trie can be a tree, but indexed otherwise from a look for tree: you create The true secret in binary, a