A Semiring Perspective: Innovative Fast and Secure Public-Key Cryptosystem Design
A CompSci Talks seminar on November 9, 2025 at 12:00 PM.
Prof Entisarat Seminar Hall
Abstract
# **Session Summary: Public Key Cryptography in the Quantum Era** **Lecturer:** Professor **Topic:** Transitioning from Classical Public Key Cryptography to Post-Quantum and Semi-ring Based Systems. --- ## **1. The Motivation: Why Post-Quantum Cryptography?** The primary goal of modern cryptographic research is to design systems that are both **fast** and **Quantum-Safe**. * **The Vulnerability:** Most currently used public key systems (like **RSA** and **ElGamal**) are based on mathematical problems that can be solved in polynomial time by **Shor�s Algorithm** running on a quantum computer. * **The Reality:** While fully functional large-scale quantum computers do not yet exist, limited versions are in development. It is projected that within 10�15 years, classical security based on integer factoring or discrete logarithms will be obsolete. --- ## **2. Classical Hard Problems vs. Quantum Algorithms** ### **A. Integer Factoring Problem (IFP)** * **Basis for:** RSA. * **The Problem:** Given a large composite number $n$, find its prime factors $p$ and $q$. * **Classical Complexity:** Sub-exponential time (e.g., General Number Field Sieve). * **Quantum Solution:** **Shor�s Algorithm** reduces this to polynomial time ($O(\log n)^3$), effectively breaking RSA once quantum hardware matures. ### **B. Discrete Logarithm Problem (DLP)** * **Basis for:** Diffie-Hellman, ElGamal, and Elliptic Curve Cryptography (ECC). * **The Problem:** Given $y = g^x \pmod p$, find $x$. * **Quantum Solution:** Also vulnerable to Shor�s Algorithm. --- ## **3. Post-Quantum Alternatives: Lattice-Based Cryptography** To resist quantum attacks, we look toward **NP-Complete** problems. **Lattice-based problems** are currently the leading candidates. * **Shortest Vector Problem (SVP):** Finding the shortest non-zero vector in a lattice. This remains hard for both classical and quantum computers. * **NTRU (N-th Degree Truncated Polynomial Ring):** A well-known lattice-based system. It is faster than RSA but historically suffered from "message expansion" (the ciphertext is significantly larger than the plaintext). * **NAB (Nasser-Anwar-Bery):** A proposed system that aims to improve upon NTRU by providing lower message expansion and higher security. ### **Comparative Overview** | Feature | RSA / ElGamal | NTRU | NAB / Fast Semi-ring | | :--- | :--- | :--- | :--- | | **Hard Problem** | Factoring / DLP | Lattice (SVP) | Matrix Action Problem | | **Quantum Resistance** | No (Broken by Shor) | Yes | Yes | | **Speed** | Moderate | Fast | Very Fast | | **Message Expansion** | Low | High | Very Low | | **Target Application** | General Web | Post-Quantum | IoT / Lightweight devices | --- ## **4. Advanced Direction: Semi-ring Based Cryptography** A newer approach involves using **Semi-rings** to avoid traditional number-theoretic assumptions. ### **Algebraic Definitions** * **Semigroup:** A set with a closed, associative operation. * **Group:** A semigroup with an identity element and inverses. * **Ring:** A set with two operations (Addition: Abelian Group; Multiplication: Semigroup) where multiplication distributes over addition. * **Semi-ring:** Similar to a ring, but the addition does not require an inverse (no negative elements). Examples include natural numbers $\mathbb{N}$ under $(\max, \min)$ operations. ### **The Matrix Action Problem** The session proposed a system using **Circulant Matrices** over a Semi-ring. * **Mechanism:** Uses the complexity of finding specific matrices $B_1, B_2$ such that $T = B_1 \cdot S \cdot B_2$. * **Why it works:** Because circulant matrices commute, they allow for efficient key exchange and encryption while remaining resistant to quantum-based linear algebra attacks. --- ## **5. Fast Semi-ring Public Key Cryptography (The NAB Proposal)** ### **Key Generation** * **Private Key:** Two circulant matrices $(B_1, B_2)$. * **Public Key:** Two matrices $(S, T)$ where $T = B_1 \cdot S \cdot B_2$. ### **Encryption/Decryption Logic** 1. **Encryption:** The sender picks random circulant matrices, computes a "mask" using the public key, and applies a **Hash Function** to XOR the message. 2. **Decryption:** The receiver uses the private keys $(B_1, B_2)$ to reconstruct the same mask and retrieve the message. 3. **Efficiency:** It avoids modular exponentiation (the "power" operation in RSA), relying instead on simple matrix additions and multiplications. ### **Session Notes on Performance** * **Speed:** Decryption is as fast as encryption (unlike RSA where decryption is much slower). * **IoT Ready:** The "lightweight" nature of semi-ring operations makes it ideal for the Internet of Things (IoT) where devices have limited battery and processing power. * **Security:** The system is proven to be at least as secure as NTRU while offering better performance metrics.