Optimal S box construction method and circuit
A construction method and optimal technology, applied in the field of communication, can solve the problems of large number of combinational logic gates, time-consuming, algebraic times and large number of items, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0065] The processing steps of adopting the scheme of the present invention to construct N optimal 4×4S boxes are as follows:
[0066] Step1: For i=1,2,...,N, repeat the following steps:
[0067] Step2: Randomly generate a 4×4 binary field matrix, and test whether the matrix is invertible. If the matrix is invertible, record it as Ai, and execute Step3; otherwise, execute this step again.
[0068] Step3: Randomly generate a 4×4 binary domain matrix, and test whether the matrix is invertible. If the matrix is invertible, denote it as C i , and execute Step4; otherwise, execute this step again.
[0069] Step4: Randomly generate two constant vectors b i , d i ∈ F 2 4 , according to the following formula to calculate the content S of the new S box i (x)=C i ·S(A i ·x+b i )+d i , where S(x) is the basic S-box whose contents are shown in Table 1.
[0070] Step5: Output the S i (x) as an optimal S-box. If i
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 