all string hash func, prefer BKDRHash