LOGBOOK

HELP

Quiz Entry - updated: 2026.07.14

What key principle classifies asymmetric algorithms by whether their one-way function has a trapdoor?

"Some asymmetric algorithms rely on one-way functions WITH trapdoor, others on one-way functions WITHOUT trapdoor."

RSA has a trapdoor (knowing p, q); DH, ElGamal and ECC do not

* With a trapdoor, a secret shortcut makes the inverse easy for its owner; without one, the inverse is hard for everyone. *

This fundamental distinction divides all public-key cryptography:

Type Trapdoor? Example Hard Problem
RSA Yes — knowing $p, q$ Encryption + Signatures e-th root mod N (factoring)
Diffie-Hellman No Key exchange only Discrete logarithm mod p
ElGamal No Encryption + Signatures Discrete logarithm mod p
ECC No Encryption + Signatures Discrete logarithm on curves

With trapdoor means: there exists a secret (the factorization $N = p \cdot q$) that makes the inverse computation easy. Without it, the inverse is infeasible.

Without trapdoor means: the inverse is hard for everyone — there is no shortcut. Security relies on the mathematical structure, not a secret shortcut.

Go deeper:

From Quiz: KRYPTOG / RSA | Updated: Jul 14, 2026