Scanner for hash