support global hasher configuration (fix #229)