@trsteel88 move the logic from signer to the controller. and remove trimHash method.