Multiplicative Complexity of Autosymmetric Functions: Theory and Applications to Security