Using hash table for SHA lookups