Are there any cryptographic methods $f,g,h$ which can be applied in any order to an input $x$ while still resulting in the same result $r$:
$$f(g(h(x)))=h(g(f(x)))=ghf(x)=fhg(x)=hfg(x)=gfh(x) = r$$
Same for their inverse function:
$$f^{-1}(g^{-1}(h^{-1}(r)))=h^{-1}(g^{-1}(f^{-1}(r)))=g^{-1}(h^{-1}(f^{-1}(r))) =...= x$$
If now $f,g,h,$ is applied $i,j,k$-times to an input $x$ finding/computing $x$ for given $c$
$$c=f^i(g^j(h^k(x)))$$
should be as hard as possible and with this taking more than $O(|i|+|j|+|k|)$ steps.
Computing $f,g,h$ and their inverses need to take a similar time for each input (independent of $i,j,k$).
Furthermore $f,g,h$ produce a cycle like $f(f(....f(x)...)) = x$ with size $F,G,H$ with $F\approx G \approx H \gg 1$
And random $x$ can be generated without the knowledge of secret parameter from $f,g,h$.
Target: Given two random $x_1,x_2$ with $x_2=f^ig^jh^k(x_1)$ computing/finding $i,j,k$ should be as hard as possible while the number of different $x$ should be as small as possible.
Not preferable but some combinations of $x_1,x_2$ may not have any $i,j,k$