Skip to main content
QUICK REVIEW

[Paper Review] Adding digit vectors

Peter Hellekalek|arXiv (Cornell University)|Sep 17, 2012
Digital Image Processing TechniquesComputer Science12 references3 citations
TL;DR

This paper investigates all possible abelian group operations (additions) on digit vectors of length $ m $ in base $ b \geq 2 $, showing that there are at least $ 2^{m-1} $ distinct such operations. The key result is that all valid additions arise from compositions of $ m $ and automorphisms of residue groups $ \mathbb{Z}/b^t\mathbb{Z} $, leading to $ (p-1)(2p-1)^{m-1} $ distinct additions for prime base $ p $, significantly expanding the design space for cryptographic primitives like stream and block ciphers.

ABSTRACT

In this paper, we study the different possibilities to add two vectors of digits of a given length $m$. Our results show that there are at least $2^{m-1}$ different additions of such vectors, while there exist only two types of addition that we may employ, addition with carry and addition without carry. The proofs of our results are elementary.

Motivation & Objective

  • To classify all binary operations on $ \mathcal{A}_b^m $ that make the set into an abelian group under addition.
  • To determine how many distinct such group operations exist for digit vectors of length $ m $ in base $ b \geq 2 $.
  • To explore whether there are more than the two standard types—addition with carry and addition without carry (XOR)—that can be used in cryptographic constructions.
  • To investigate how automorphisms of residue groups $ \mathbb{Z}/b^t\mathbb{Z} $ can generate additional distinct addition operations.
  • To provide a framework for increasing key space and enhancing confusion and diffusion in stream and block ciphers by varying the addition type per digit block.

Proposed method

  • Use the fundamental theorem of finite abelian groups to decompose $ \mathcal{A}_b^m $ into a product of cyclic groups $ \mathbb{Z}/b^{t_i}\mathbb{Z} $, based on compositions of $ m $.
  • Define group operations on each component $ \mathbb{Z}/b^{t_i}\mathbb{Z} $ using integer addition modulo $ b^{t_i} $, with possible automorphisms $ \sigma $ applied to the integer representation.
  • Apply the map $ \operatorname{int}_b(\mathbf{x}) = \sum_{j=0}^{t-1} x_j b^j $ to convert digit vectors to integers, perform operations in $ \mathbb{Z}/b^t\mathbb{Z} $, and map back via $ \operatorname{dig}_b $.
  • Count the number of valid automorphisms of $ \mathbb{Z}/b^t\mathbb{Z} $, which is $ \varphi(b^t) $, where $ \varphi $ is Euler's totient function.
  • Combine all compositions of $ m $ and all automorphism choices across components to compute the total number of distinct group operations.
  • Derive the closed-form expression $ (p-1)(2p-1)^{m-1} $ for prime base $ p $, and generalize to $ b^{m} C_b (1 + C_b)^{m-1} $ for general $ b $, with $ C_b = \prod_{i=1}^s (1 - 1/p_i) $.

Experimental results

Research questions

  • RQ1Are there more than two types of addition on digit vectors $ \mathcal{A}_b^m $ that yield an abelian group structure?
  • RQ2How many distinct abelian group operations can be defined on $ \mathcal{A}_b^m $ using compositions of $ m $ and automorphisms of residue groups?
  • RQ3Can the use of automorphisms on component groups $ \mathbb{Z}/b^t\mathbb{Z} $ generate a significantly larger number of distinct addition operations?
  • RQ4What is the exact number of distinct abelian group operations on $ \mathcal{A}_p^m $ for a prime base $ p $, when compositions and automorphisms are considered?
  • RQ5How does the number of such operations scale with $ m $, and what is the impact on cryptographic security when these operations are used as part of a cipher’s key schedule?

Key findings

  • There are at least $ 2^{m-1} $ distinct abelian group operations on $ \mathcal{A}_b^m $, corresponding to the number of compositions of $ m $, even without considering automorphisms.
  • For a prime base $ p $, the total number of distinct abelian group operations on $ \mathcal{A}_p^m $ is $ (p-1)(2p-1)^{m-1} $, derived from compositions of $ m $ and automorphisms of $ \mathbb{Z}/p^{t_i}\mathbb{Z} $.
  • For $ p = 2 $ and $ m = 8 $, the number of distinct additions is $ 3^7 = 2187 $, significantly exceeding the standard XOR and integer addition types.
  • The number of automorphisms of $ \mathbb{Z}/b^t\mathbb{Z} $ is $ \varphi(b^t) $, which is multiplicative and depends on the prime factorization of $ b $.
  • For general base $ b $, the total number of distinct additions is $ b^m C_b (1 + C_b)^{m-1} $, where $ C_b = \prod_{i=1}^s (1 - 1/p_i) $, with $ p_i $ the distinct prime factors of $ b $.
  • The construction allows for a large, structured increase in the key space of cryptographic systems by varying the addition type per digit block, enhancing confusion and diffusion.

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.