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.
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.
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:
- Algebraic Structure: A general characterization of the image set of $F(x) = x^3 + x$ over $GF(2^n)$ has not yet been reached.
- 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.
- 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