S-box is the unique nonlinear operation for advanced encryption standard (AES) and accounts for the algorithm's security. This paper first introduces briefly the building principle of AES. Then one method of building dynamic S-box for AES is proposed, and detail analysis of the dynamic S-box is made, which calculates and proves main algebraic properties of the dynamic S-box such as balance, linear property, differential property, and algebraic expression. Our experiments demonstrate that the dynamic S-box technique...