English

Comparing balanced $\mathbb{Z}_v$-sequences obtained from ElGamal function to random balanced sequences

Number Theory 2021-12-23 v1 Discrete Mathematics Combinatorics

Abstract

In this paper, we investigate the randomness properties of sequences in Zv\mathbb{Z}_v derived from permutations in Zp\mathbb{Z}_{p}^* using the remainder function modulo vv, where pp is a prime integer. Motivated by earlier studies with a cryptographic focus we compare sequences constructed from the ElGamal function xgxx \to g^x for xZ>0x\in\mathbb{Z}_{>0} and gg a primitive element of Zp\mathbb{Z}_{p}^*, to sequences constructed from random permutations of Zp\mathbb{Z}_{p}^*. We prove that sequences obtained from ElGamal have maximal period and behave similarly to random permutations with respect to the balance and run properties of Golomb's postulates for pseudo-random sequences. Additionally we show that they behave similarly to random permutations for the tuple balance property. This requires some significant work determining properties of random balanced periodic sequences. In general, for these properties and excepting for very unlikely events, the ElGamal sequences behave the same as random balanced sequences.

Cite

@article{arxiv.2112.12032,
  title  = {Comparing balanced $\mathbb{Z}_v$-sequences obtained from ElGamal function to random balanced sequences},
  author = {Daniel Panario and Lucas Pandolfo Perin and Brett Stevens},
  journal= {arXiv preprint arXiv:2112.12032},
  year   = {2021}
}

Comments

26 pages, 6 figures

R2 v1 2026-06-24T08:28:14.267Z