Skip to main content
Log in

Comparing balanced sequences obtained from ElGamal function to random balanced sequences

  • Published:
Cryptography and Communications Aims and scope Submit manuscript

Abstract

In this paper, we investigate the randomness properties of sequences in \(\mathbb {Z}_{v}\) derived from permutations in \(\mathbb {Z}_{p}^{*}\) using the remainder function modulo v, where p is a prime integer. Motivated by earlier studies with a cryptographic focus we compare sequences constructed from the discrete exponential function, or “ElGamal function”, xgx for \(x\in \mathbb {Z}_{>0}\) and g a primitive element of \(\mathbb {Z}_{p}^{*}\), to sequences constructed from random permutations of \(\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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Availability of supporting data

Freely available upon request.

Notes

  1. http://oeis.org/A048617

References

  1. Golomb, S.W., Gong, G.: Signal design for good correlation. Cambridge University Press (2005)

  2. Mullen, G.L., Panario, D.: Handbook of finite fields, 1st ed. Chapman & Hall/CRC (2013)

  3. Colbourn, C.J.: Covering arrays from cyclotomy. Des. Codes Crypt. 55(2-3), 201–219 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  4. Tzanakis, G., Panario, D., Moura, L., Stevens, B.: Covering arrays from m-sequences and character sums. Des. Codes Crypt. 85, 437–456 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  5. ElGamal, T.: A public key cryptosystem a signature scheme based on discrete logarithms. IEEE Trans. Inf. Theory IT-31(4), 469–472 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  6. von zur, J., Gathen, L., Niehues, B., Pandolfo Perin, L., Zumalacárregui, A.: Sidon sets and the statistics of the ElGamal function. Cryptologia 44(5), 438–450 (2020)

    Article  Google Scholar 

  7. Drakakis, K., Gow, R., McGuire, G.: APN permutations on \(\mathbb {Z}_{n}\) and Costas arrays. Discret. Appl. Math. 157(15), 3320–3326 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  8. Drakakis, K., Requena, V., McGuire, G.: On the nonlinearity of exponential Welch Costas functions. IEEE Trans. Inform. Theory 56(3), 1230–1238 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  9. Taylor, K., Rickard, S., Drakakis, K.: Costas arrays: survey, standardization, and MATLAB toolbox. ACM Trans. Math. Software 37(4), Art.41,31 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  10. Drakakis, K.: On the measurement of the (non)linearity of Costas permutations. J. Appl. Math., pp. Art. ID 149658, 14 (2010)

  11. Robbins, H.: A remark on Stirling’s formula. Amer. Math. Monthly 62, 26–29 (1955)

    MathSciNet  MATH  Google Scholar 

  12. Bender, E.A., Richmond, L.B., Williamson, S.G.: Central and local limit theorems applied to asymptotic enumeration. III. Matrix recursions. J. Combin. Theory Ser. A 35(3), 263–278 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  13. Eaton, M.L.: Multivariate Statistics: a vector space approach. Inst. Math. Stat., 53 (2007)

  14. Flajolet, P., Sedgewick, R.: Analytic combinatorics. Cambridge University Press (2009)

  15. van Aardenne-Ehrenfest, T., de Bruijn, N.G.: Circuits and trees in oriented linear graphs. Simon Stevin 28, 203–217 (1951)

    MathSciNet  MATH  Google Scholar 

  16. The Sage Developers: SageMath, the Sage Mathematics Software System (Version 8.6). https://www.sagemath.org (2020)

  17. Murty, M.R.: Artin’s conjecture for primitive roots. Math. Intelligencer 10(4), 59–67 (1988)

    Article  MathSciNet  MATH  Google Scholar 

  18. Moree, P.: Artin’s primitive root conjecture—a survey. Integers 12 (6), 1305–1416 (2012)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

We would like to gratefully acknowledge the help, time and knowledge of Profs. Jason Gao, Gennady Shaikhet and Yiqiang Zhao. We thank the referees for their time and helpful suggestions which improved this paper.

Funding

Daniel Panario and Brett Stevens are supported by the Natural Sciences and Engineering Research Council of Canada (funding reference numbers RGPIN 05328 and 06392, respectively) and the Carleton-FAPESP SPRINT Program. Lucas Pandolfo Perin was supported by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001.

Author information

Authors and Affiliations

Authors

Contributions

All authors wrote and reviewed entirety of article.

Corresponding author

Correspondence to Daniel Panario.

Ethics declarations

Ethics approval and consent to participate

Not applicable

Consent for Publication

All authors consent. No other consent applicable

Competing interests

None

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Panario, D., Perin, L.P. & Stevens, B. Comparing balanced sequences obtained from ElGamal function to random balanced sequences. Cryptogr. Commun. 15, 675–707 (2023). https://doi.org/10.1007/s12095-022-00623-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12095-022-00623-1

Keywords

Mathematics Subject Classification (2010)