I already know that $\int \operatorname{sech} x\text{d}x$ is $2\tan^{-1} e^{x} + C$
I derived it with the exponential definition of the $\operatorname{sech} x$ and I've looked it up to find the same.
$\int \frac {2} {e^{x}+e^{-x}} dx = \int \frac {2e^{x}}{e^{2x}-1} dx = 2 tan^{-1}e^{x} +C$
are there any other methods? noting that i have attempted to with $\int \frac{1}{\operatorname{cosh}x}\text{d}x$ but went nowhere.
HINT: use that $$\cosh(x)^2-\sinh(x)^2=1$$