$SignatureUtil->makeHash($input, "sha256") 'signature' => hash("sha256", $input) ); echo json_encode($output);