basic work for public hasher done.