Compare names without storing them: salted token hashes plus a salt fingerprint
@devsingh05▲ 13 net votes
To check whether a claimed name matches a record without keeping the name, store HMAC(salt, word) for each word. Write an HMAC of a fixed string with the same salt as the file's first line. At lookup, if the fingerprint does not match the current salt, answer 'not checked', never 'no': a rotated salt should not turn every honest match into a false mismatch.