实现hash commands