Evolving Bent Quaternary Functions
Abstract
Boolean functions have a prominent role in many real-world applications, which makes them a very active research domain. Throughout the years, various heuristic techniques proved to be an attractive choice for the construction of Boolean functions with different properties. One of the most important properties is nonlinearity, and in particular maximally nonlinear Boolean functions are also called bent functions. In this paper, instead of considering Boolean functions, we experiment with quaternary functions. The corresponding problem is much more difficult and presents an interesting benchmark as well as realworld applications. The results we obtain show that evolutionary metaheuristics, especially genetic programming, succeed in finding quaternary functions with the desired properties. The obtained results in the quaternary domain can also be translated into the binary domain, in which case this approach compares favorably with the state-of-the-art in Boolean optimization. Our techniques are able to find quaternary bent functions for up to 8 inputs, which corresponds to obtaining Boolean bent functions of 16 inputs.
Key takeaways
AI
AI
- This paper introduces evolving quaternary functions with maximal nonlinearity, improving upon Boolean function techniques.
- The research successfully identifies quaternary bent functions for up to 8 inputs, correlating to 16-input Boolean functions.
- Genetic Programming (GP) outperforms Genetic Algorithms (GA) in evolving quaternary functions, demonstrating superior efficiency.
- Quaternary functions can generate maximally nonlinear functions that are not bent, a novel finding in this domain.
- Gray mapping allows transformation of quaternary functions into Boolean functions, maintaining desired properties.
References (32)
- O. Rothaus, "On "bent" functions," Journal of Combinatorial Theory, Series A, vol. 20, no. 3, pp. 300 -305, 1976.
- A. Bernasconi, B. Codenotti, and J. M. Vanderkam, "A characterization of bent functions in terms of strongly regular graphs," IEEE Transactions on Computers, vol. 50, no. 9, pp. 984-985, Sep 2001.
- S. Kavut, S. Maitra, and M. D. Yucel, "Search for boolean functions with excellent profiles in the rotation symmetric class," IEEE Transactions on Information Theory, vol. 53, no. 5, pp. 1743-1751, May 2007.
- A. Kerdock, "A class of low-rate nonlinear binary codes," Information and Control, vol. 20, no. 2, pp. 182 -187, 1972.
- C. Xiang, C. Ding, and S. Mesnager, "Optimal codebooks from binary codes meeting the levenshtein bound," IEEE Trans. Information Theory, vol. 61, no. 12, pp. 6526-6535, 2015.
- Y. Zheng, J. Pieprzyk, and J. Seberry, "HAVAL -a one-way hash- ing algorithm with variable length of output (extended abstract)," in Advances in Cryptology -AUSCRYPT '92: Workshop on the Theory and Application of Cryptographic Techniques Gold Coast, Queensland, Australia, December 13-16, 1992 Proceedings, J. Seberry and Y. Zheng, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 1993, pp. 81-104.
- M. Hell, T. Johansson, A. Maximov, and W. Meier, "A stream cipher proposal: Grain-128," in 2006 IEEE International Symposium on Infor- mation Theory, July 2006, pp. 1614-1618.
- C. M. Adams, "Constructing symmetric ciphers using the cast design procedure," Designs, Codes and Cryptography, vol. 12, no. 3, pp. 283- 316, Nov 1997.
- P. Méaux, A. Journault, F.-X. Standaert, and C. Carlet, "Towards stream ciphers for efficient fhe with low-noise ciphertexts," in Advances in Cryptology -EUROCRYPT 2016: 35th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Vienna, Austria, May 8-12, 2016, M. Fischlin and J.-S. Coron, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2016, pp. 311-343.
- K. U. Schmidt, "Quaternary constant-amplitude codes for multicode cdma," IEEE Transactions on Information Theory, vol. 55, no. 4, pp. 1824-1832, April 2009.
- Z. Jadda, P. Parraud, and S. Qarboua, "Quaternary cryptographic bent functions and their binary projection," Cryptography and Communica- tions, vol. 5, no. 1, pp. 49-65, 2013.
- C. Carlet, "Boolean functions for cryptography and error-correcting codes," in Boolean Models and Methods in Mathematics, Computer Science, and Engineering, Y. Crama, , and P. L. Hammer, Eds. New York: Cambridge University Press, 2011, pp. 257-397.
- R. Forrié, "The Strict Avalanche Criterion: Spectral Properties of Boolean Functions and an Extended Definition," in Advances in Cryp- tology -CRYPTO' 88, ser. Lecture Notes in Computer Science, S. Gold- wasser, Ed. Springer New York, 1990, vol. 403, pp. 450-468.
- B. Preneel, W. Van Leekwijck, L. Van Linden, R. Govaerts, and J. Van- dewalle, "Propagation characteristics of Boolean functions," in Proc. workshop on the theory and application of cryptographic techniques on Advances in cryptology, ser. EUROCRYPT '90. New York, NY, USA: Springer-Verlag New York, Inc., 1991, pp. 161-173.
- J. Dillon, "A Survey of Bent Functions*," Reprinted from the NSA Technical Journal. Special Issue, Tech. Rep., 1972, unclassified.
- Z. Jadda and P. Parraud, "Z4-nonlinearity of a constructed quaternary cryptographic functions class," in Sequences and Their Applications - SETA 2010: 6th International Conference, Paris, France, September 13- 17, 2010. Proceedings, C. Carlet and A. Pott, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2010, pp. 270-283.
- P. Solé and N. Tokareva, "Connections between quaternary and binary bent functions," Cryptology ePrint Archive, Report 2009/544, 2009.
- Z. Jadda, P. Parraud, and S. Qarboua, "Quaternary cryptographic bent functions and their binary projection," Cryptography and Communica- tions, vol. 5, no. 1, pp. 49-65, 2013.
- W. Millan, A. Clark, and E. Dawson, "An Effective Genetic Algorithm for Finding Highly Nonlinear Boolean Functions," in Proceedings of the 1st Int Conference on Information and Communication Security, ser. ICICS '97. London, UK, UK: Springer-Verlag, 1997, pp. 149-158.
- W. Millan, A. J. Clark, and E. Dawson, "Heuristic design of crypto- graphically strong balanced boolean functions," in EUROCRYPT '98, ser. LNCS, K. Nyberg, Ed., vol. 1403. Springer, 1998, pp. 489-499.
- J. McLaughlin and J. A. Clark, "Evolving balanced Boolean functions with optimal resistance to algebraic and fast algebraic attacks, maximal algebraic degree, and very high nonlinearity," Cryptology ePrint Archive, Report 2013/011, 2013.
- J. A. Clark, J. Jacob, S. Maitra, and P. Stȃnicȃ, "Almost Boolean functions: the design of Boolean functions by spectral inversion," in Evolutionary Computation, 2003. CEC '03. The 2003 Congress on, vol. 3, Dec 2003, pp. 2173-2180 Vol.3.
- L. Mariot and A. Leporati, "A Genetic Algorithm for Evolving Plateaued Cryptographic Boolean Functions," in Theory and Practice of Natural Computing -Fourth International Conference, TPNC 2015, Mieres, Spain, December 15-16, 2015. Proceedings, 2015, pp. 33-45.
- S. Picek, D. Jakobovic, and M. Golub, "Evolving Cryptographically Sound Boolean Functions," in Proceedings of the 15th Annual Confer- ence Companion on Genetic and Evolutionary Computation. New York, NY, USA: ACM, 2013, pp. 191-192.
- L. Mariot and A. Leporati, "Heuristic search by particle swarm optimiza- tion of boolean functions for cryptographic applications," in Genetic and Evolutionary Computation Conference, GECCO, Madrid, Spain, July 11-15, 2015, 2015, pp. 1425-1426.
- R. Hrbacek and V. Dvorak, "Bent Function Synthesis by Means of Cartesian Genetic Programming," in Parallel Problem Solving from Nature -PPSN XIII, ser. Lecture Notes in Computer Science, T. Bartz- Beielstein, J. Branke, B. Filipič, and J. Smith, Eds. Springer Interna- tional Publishing, 2014, vol. 8672, pp. 414-423.
- S. Picek, D. Jakobovic, J. F. Miller, L. Batina, and M. Cupic, "Crypto- graphic boolean functions: One output, many design criteria," Appl. Soft Comput., vol. 40, pp. 635-653, 2016.
- S. Picek, D. Sisejkovic, and D. Jakobovic, "Immunological algorithms paradigm for construction of boolean functions with good cryptographic properties," Eng. Appl. of AI, vol. 62, pp. 320-330, 2017.
- S. Picek and D. Jakobovic, "Evolving Algebraic Constructions for Designing Bent Boolean Functions," in Proceedings of the 2016 on Genetic and Evolutionary Computation Conference, Denver, CO, USA, July 20 -24, 2016, 2016, pp. 781-788.
- R. Poli, W. B. Langdon, and N. F. McPhee, A field guide to genetic programming. Published via http://lulu.com and freely available at http://www.gp-field-guide.org.uk, 2008.
- L. Mariot, E. Formenti, and A. Leporati, "Enumerating orthogonal latin squares generated by bipermutive cellular automata," in Cellular Automata and Discrete Complex Systems -23rd IFIP WG Int Workshop, AUTOMATA 2017, Milan, Italy, June 7-9, 2017, pp. 151-164.
- L. Mariot, S. Picek, D. Jakobovic, and A. Leporati, "Evolutionary algorithms for the design of orthogonal latin squares based on cellular automata," in Proc. of the Genetic and Evolutionary Computation Conference, GECCO, Berlin, Germany, July 15-19, 2017, pp. 306-313.