Questions: Discrete Logarithms

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Alice knows a prime p, a primitive root g, and an exponent k, and wants to compute g^k mod p. Bob knows p, g, and the value a = g^k mod p, and wants to find k. Whose problem is computationally harder?

AAlice's — exponentiation mod p requires inspecting every power of g
BBob's — finding k from g^k mod p is believed to be computationally infeasible for large p
CBoth are equally hard — modular arithmetic is always expensive
DNeither — both problems reduce to prime factorization
Question 2 Multiple Choice

In the group (Z/pZ)*, we have log_g(ab) ≡ log_g(a) + log_g(b) (mod p-1). Which of the following best explains why this law holds?

AIt holds because multiplication distributes over addition in modular arithmetic
BIt mirrors ordinary logarithm laws because the group is cyclic of order p-1 and g is a generator
CIt is a coincidence that only applies when p is prime
DIt follows from the fact that g^k is always greater than g^j when k > j
Question 3 True / False

The discrete logarithm obeys additive laws that mirror ordinary logarithms: log_g(ab) ≡ log_g(a) + log_g(b) (mod p-1).

TTrue
FFalse
Question 4 True / False

Using a larger prime p makes the forward computation g^k mod p slower, which is why large primes improve cryptographic security.

TTrue
FFalse
Question 5 Short Answer

What makes the discrete logarithm problem a 'one-way function,' and why is this property essential for cryptographic key exchange?

Think about your answer, then reveal below.