c++ api, part 4, hash