Skip to main content
QUICK REVIEW

[Paper Review] A Novel Method to Generate Key-Dependent S-Boxes with Identical Algebraic Properties

Ahmad Y. Al‐Dweik, Iqtadar Hussain|arXiv (Cornell University)|Aug 24, 2019
Coding theory and cryptographyComputer Science27 references8 citations
TL;DR

This paper proposes a novel algorithm to generate key-dependent dynamic S-boxes that preserve identical algebraic properties—bijection, nonlinearity, strict avalanche criterion (SAC), and bits independence criterion (BIC)—by applying symmetric group actions (Sₙ and S₂ⁿ) to permute rows and columns of Boolean functions in the S-box. The method ensures all generated clone S-boxes maintain the same cryptographic strength as the original, enabling secure, dynamic S-box generation without compromising performance metrics.

ABSTRACT

The s-box plays the vital role of creating confusion between the ciphertext and secret key in any cryptosystem, and is the only nonlinear component in many block ciphers. Dynamic s-boxes, as compared to static, improve entropy of the system, hence leading to better resistance against linear and differential attacks. It was shown in [2] that while incorporating dynamic s-boxes in cryptosystems is sufficiently secure, they do not keep non-linearity invariant. This work provides an algorithmic scheme to generate key-dependent dynamic $n imes n$ clone s-boxes having the same algebraic properties namely bijection, nonlinearity, the strict avalanche criterion (SAC), the output bits independence criterion (BIC) as of the initial seed s-box. The method is based on group action of symmetric group $S_n$ and a subgroup $S_{2^n}$ respectively on columns and rows of Boolean functions ($GF(2^n) o GF(2)$) of s-box. Invariance of the bijection, nonlinearity, SAC, and BIC for the generated clone copies is proved. As illustration, examples are provided for $n=8$ and $n=4$ along with comparison of the algebraic properties of the clone and initial seed s-box. The proposed method is an extension of [3,4,5,6] which involved group action of $S_8$ only on columns of Boolean functions ($GF(2^8) o GF(2)$ ) of s-box. For $n=4$, we have used an initial $4 imes 4$ s-box constructed by Carlisle Adams and Stafford Tavares [7] to generated $(4!)^2$ clone copies. For $n=8$, it can be seen [3,4,5,6] that the number of clone copies that can be constructed by permuting the columns is $8!$. For each column permutation, the proposed method enables to generate $8!$ clone copies by permuting the rows.

Motivation & Objective

  • To address the lack of invariant algebraic properties in existing key-dependent S-box generation methods.
  • To develop a systematic algorithm that preserves critical cryptographic properties such as nonlinearity, SAC, and BIC across dynamically generated S-box clones.
  • To enable the creation of multiple secure, key-dependent S-box variants from a single strong initial S-box, such as the AES S-box.
  • To extend prior work limited to column permutations by incorporating row permutations via group actions.
  • To provide a provably secure and efficient method for generating S-box clones with identical cryptographic traits.

Proposed method

  • The method uses group actions of the symmetric group Sₙ on columns and S₂ⁿ on rows of the Boolean function representation of an S-box (GF(2ⁿ) → GF(2)).
  • Permutations σ₁ and σ₂, derived from the secret key, are applied to reorganize the columns and rows of the S-box's binary matrix representation.
  • The transformation involves converting the S-box into a binary matrix, applying permutation matrices P₁ and P₂ to columns and rows, and reconstructing the new S-box via matrix multiplication.
  • The algorithm is implemented in Maple, with procedures for permutation matrix generation, binary matrix conversion, and S-box reconstruction.
  • The method ensures invariance of bijection, nonlinearity, SAC, and BIC through formal proof, leveraging group action symmetries.
  • The approach is validated using the AES S-box (n=8) and a 4×4 S-box (n=4), generating (4!)² = 576 and 8!×8! clone copies respectively.

Experimental results

Research questions

  • RQ1Can key-dependent S-boxes be generated while preserving the original S-box’s nonlinearity, SAC, and BIC?
  • RQ2Is it possible to maintain bijection and cryptographic strength across multiple S-box clones using group actions on rows and columns?
  • RQ3How can row and column permutations be combined to generate a large number of cryptographically equivalent S-box variants?
  • RQ4Does the proposed method outperform prior approaches limited to column permutations alone?
  • RQ5Can a single strong S-box (e.g., AES) be used to generate a large family of secure, dynamic S-boxes with identical properties?

Key findings

  • All generated clone S-boxes preserve the original S-box’s nonlinearity: 112 for the AES S-box (n=8), and 112 for the 4×4 S-box.
  • The strict avalanche criterion (SAC) average remains at 0.504883, with maximum 0.5625 and minimum 0.453125, matching the original S-box.
  • The bits independence criterion (BIC) for nonlinearity and SAC shows identical mean and standard deviation values (0.504604 and 0.011271) between original and clone S-boxes.
  • For n=8, the method generates 8! × 8! = 1.6×10¹⁰ distinct S-box clones from a single AES S-box, all with identical algebraic properties.
  • For n=4, the method produces (4!)² = 576 clone S-boxes with identical cryptographic traits, demonstrating scalability.
  • Theoretical proofs confirm that bijection, nonlinearity, SAC, and BIC are invariant under the proposed group action-based transformation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.