That's actually within the other fair use factors. So your hash table is fair use because its transformative and doesn't substitute for the original work.
It's actually even less than fair use, it's non-copyright use: one-way hashes are intentionally designed to eliminate the creative element and output random looking data.