I recently came across a question in my graduate course where we have to calculate the characteristic function for the Logistic distribution. The Logistic distribution we are working with is given by the following PDF: $$ f(x) = \frac{e^{-x}}{(1 + e^{-x})^2}. $$
The way that I went about doing this is the following: $$E\left[ e^{itX} \right] = E[\cos(tX)] + iE[\sin(tX)]. $$ The $E[\sin(tX)] = 0$.
The real problem for me comes when calculating $E[\cos(tX)]$. I tried to express $\cos$ in its exponential representation, but I didn't get too far with that. Upon plugging this integral into WolframAlpha, it says that the hypergeometric function is used for it. Any thoughts on how I can analytically compute this? I'd be happy to use the hypergeometric function, but I don't quite see the connection between that and $\text{csch}(x)$, which is part of the result that WolframAlpha gives (and this result matches the characteristic function listed for the Logistic distribution).
Edit: I would like to be able to do this problem without a computer and solely pencil and paper. This is what I mean by an analytic solution.