in place hash