Yes, a hash table or a hash map requires a one-way function. Also duplicate detection (see thisthis and thisthis) can be done very efficiently using one-way functions. Both cases require "good" (with low chances of collision) one-way functions while cryptographic strength is usually not requiredcryptographic strength is usually not required.