S-Box substitution and inverse S-Box substitution are the major bottleneck for AES algorithm
which directly affect the speed of AES chip.On the basis of optimizing Q-M simplifying method
this paper proposes an expression method to implement the S-Box substitution and inverse S-Box substitution in AES algorithm.Compared with the widespread use of the look-up-table method