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”, x → gx 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.






Similar content being viewed by others
Availability of supporting data
Freely available upon request.
References
Golomb, S.W., Gong, G.: Signal design for good correlation. Cambridge University Press (2005)
Mullen, G.L., Panario, D.: Handbook of finite fields, 1st ed. Chapman & Hall/CRC (2013)
Colbourn, C.J.: Covering arrays from cyclotomy. Des. Codes Crypt. 55(2-3), 201–219 (2010)
Tzanakis, G., Panario, D., Moura, L., Stevens, B.: Covering arrays from m-sequences and character sums. Des. Codes Crypt. 85, 437–456 (2017)
ElGamal, T.: A public key cryptosystem a signature scheme based on discrete logarithms. IEEE Trans. Inf. Theory IT-31(4), 469–472 (1985)
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)
Drakakis, K., Gow, R., McGuire, G.: APN permutations on \(\mathbb {Z}_{n}\) and Costas arrays. Discret. Appl. Math. 157(15), 3320–3326 (2009)
Drakakis, K., Requena, V., McGuire, G.: On the nonlinearity of exponential Welch Costas functions. IEEE Trans. Inform. Theory 56(3), 1230–1238 (2010)
Taylor, K., Rickard, S., Drakakis, K.: Costas arrays: survey, standardization, and MATLAB toolbox. ACM Trans. Math. Software 37(4), Art.41,31 (2011)
Drakakis, K.: On the measurement of the (non)linearity of Costas permutations. J. Appl. Math., pp. Art. ID 149658, 14 (2010)
Robbins, H.: A remark on Stirling’s formula. Amer. Math. Monthly 62, 26–29 (1955)
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)
Eaton, M.L.: Multivariate Statistics: a vector space approach. Inst. Math. Stat., 53 (2007)
Flajolet, P., Sedgewick, R.: Analytic combinatorics. Cambridge University Press (2009)
van Aardenne-Ehrenfest, T., de Bruijn, N.G.: Circuits and trees in oriented linear graphs. Simon Stevin 28, 203–217 (1951)
The Sage Developers: SageMath, the Sage Mathematics Software System (Version 8.6). https://www.sagemath.org (2020)
Murty, M.R.: Artin’s conjecture for primitive roots. Math. Intelligencer 10(4), 59–67 (1988)
Moree, P.: Artin’s primitive root conjecture—a survey. Integers 12 (6), 1305–1416 (2012)
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
Contributions
All authors wrote and reviewed entirety of article.
Corresponding author
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.
About this article
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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12095-022-00623-1