Abstract:$SA$-permutations, the common building components of block ciphers, are constructed as a composition of confusion ($S$-boxes) and diffusion (linear or affine $A$-boxes) transformations. We obtain conditions on $S$- and $A$-boxes, which guarantee that these permutations generate the alternating group.