Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • There are a number of "String Hash Functions" available, a quick search will disclose many, including md5 and sha256. Two good general hash table links are Coding up a Hash Table and Hash tables - eternally confuzzled. Essentially you want to read/hash each line. (a good test for collisions is the /usr/share/dict/words file which will provide between 100,000 and 300,000 words (one per-line) Commented Apr 2, 2020 at 6:19
  • 1
    As a general, "new user" note -- Welcome to Stack Overflow. Please read the About page soon and also visit the links describing How to Ask a Question and How to create a Minimal, Complete, and Verifiable example. Making sure your question is on-topic will help others provide a concise rather than general answer (and prevent downvotes as well) Commented Apr 2, 2020 at 6:22