Problems and solutions of the Fourth International Students' Olympiad in Cryptography NSUCRYPTO

Anastasiya Gorodilova, Sergey Agievich, Claude Carlet, Evgeny Gorkunov, Valeriya Idrisova, Nikolay Kolomeec, Alexandr Kutsenko, Svetla Nikova, Alexey Oblaukhov, Stjepan Picek, Bart Preneel, Vincent Rijmen, Natalia N. Tokareva · DOI

Abstract

This paper presents the mathematical problems and solutions from the Fourth International Students' Olympiad in Cryptography, NSUCRYPTO'2017. The challenges cover a broad spectrum of cryptographic research, including attacks on ciphers and hash functions, cryptographic Boolean functions, addition chains, and error correction codes. Furthermore, we discuss several open problems regarding the algebraic structure of cryptographic functions, useful proof-of-work algorithms, and quantum query complexity.

Introduction: Bridging Theory and Practice

The primary objective of NSUCRYPTO is to bridge the gap between theoretical mathematical foundations and the practical complexities of cryptographic research. In this field, the distance between a student-level challenge and a research-level breakthrough is often minimal. By documenting these problems, we provide a pedagogical resource for learning cryptographic attacks and a status report on the frontier of Boolean functions, quantum computing, and blockchain technology.

Methodology and Problem Scope

The Olympiad presented 16 distinct problems requiring a diverse toolkit of mathematical and computational techniques. These ranged from coding theory and number theory to lattice reduction and quantum query complexity. The competition structure includes both solved challenges and "unsolved" research problems to encourage community-wide engagement with open questions.

Table of problems and maximum scores from the NSUCRYPTO'2017 competition, highlighting the mix of solved and unsolved challenges.

Key methodologies employed by participants included:

  • Lattice Reduction: Using the Lenstra–Lenstra–Lovász (LLL) algorithm to find collisions in the FNV2 hash function.
  • Side-Channel Analysis: Demonstrating how execution time variations can leak secret key information.
  • Coding Theory: Modeling faulty information sources as noisy communication channels solvable via error-correcting codes (e.g., BCH codes).
  • Algebraic Analysis: Breaking block ciphers like "TwinPeaks" by identifying algebraic relations between round transformations.

Key Insights: The Accessibility of Side-Channels

A significant takeaway from the competition is the accessibility of side-channel attacks. The "Timing Attack" problem demonstrated that even a simple binary difference in execution time (e.g., 1 second vs. 2 seconds) is sufficient to leak a full message. This emphasizes the critical necessity of constant-time programming in real-world cryptographic implementations.

Visualization of a timing attack on a cipher machine, showing how execution time varies per letter of the ciphertext.

Key Results and Participation

The Olympiad attracted over 1,300 participants from 38 countries. Notable successes included:

  • TwinPeaks Decryption: Participants successfully decrypted messages using only 18 encryption requests.
  • Addition Chain Bounds: For the value $2^{127}-3$, participants achieved an addition chain length of 136, nearing the theoretical lower bounds defined by Schönhage’s theorem.
  • Hash Collisions: Successful application of LLL algorithms to find collisions for the FNV2 hash function.

Limitations and Open Problems

Several problems remain unsolved, representing ongoing challenges for the research community:

  1. Algebraic Structure: A general characterization of the image set of $F(x) = x^3 + x$ over $GF(2^n)$ has not yet been reached.
  2. Quantum Complexity: Identifying "natural" classes of functions that fall between bent and delta functions in the context of the Boolean Hidden Shift Problem (BHSP) remains an open area.
  3. Useful Proof-of-Work: Designing a robust, scientifically valuable proof-of-work system for blockchains that prevents pre-computation remains a major goal for the industry.

Summary updated

BibTeX
@inproceedings{gorodilova2019problems,
  author = {Anastasiya Gorodilova and Sergey Agievich and Claude Carlet and Evgeny Gorkunov and Valeriya Idrisova and Nikolay Kolomeec and Alexandr Kutsenko and Svetla Nikova and Alexey Oblaukhov and Stjepan Picek and Bart Preneel and Vincent Rijmen and Natalia N. Tokareva},
  title = {{Problems and solutions of the Fourth International Students' Olympiad in Cryptography NSUCRYPTO}},
  booktitle = {Cryptologia},
  year = {2019},
  url = {https://openreview.net/forum?id=g_EkL_2cCME},
}
Figure