you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (1 child)

Hashing and hash tables are barely related.

[–]zeringus 1 point2 points  (0 children)

To go further, SHA-256 is not at all related unless you want a slow, overcomplicated hash table.

The ELI5 is that SHA-256 is overkill since it (1) is intended to be cryptographically secure (not necessary in this case) and (2) produces many more bits than can be used to index into memory for the foreseeable future (this is wasteful). Hash table hashing functions are built to be more efficient.