[hash] add missing function