Add hasHash API that bypasses caches.