Pre-Class Assignments
Math 302 Advanced Cryptography, Spring 2025

This page uses MathJax to display mathematical notation, so please let me know if any part isn't clear.

All section numbers refer to the text, An Introduction to Mathematical Cryptography, 2nd Edition by Hoffstein, Pipher, and Silverman.

Be sure to check back, because this page will be updated often during the semester.


Week 2: Due Monday January 27 @ 9:00 am

Fermat's Little Theorem
Primitive roots

To Read

Much of this should be review for you from the fall semester. Don't get too caught up in all of the details, but try to focus on the differences in notation from the fall. We'll hit the main points in the videos and during class.

Optional videos from Spring 2021

Pre-Class Questions

  1. Compute 223 425 142 mod 23 425 143.
    Using your answer and Fermat's Little Theorem, what can you conclude about 23 425 143?
  2. Is 3 a primitive root of \( \mathbb{F}_{11} \)? How about 2? Explain.
Submit answers through Canvas

Week 3: Due Monday February 3 @ 9:00 am

Pollard's \( \rho \) applied to DLP

To Read

Optional videos from Spring 2021

Pre-Class Questions

  1. What is the advantage of using Pollard's \( \rho \) for solving the DLP over using Shank's?
  2. Pollard's \( \rho \) is a collision algorithm. What is the collision it looks for in the sequence \( \{x_i\} \)?
Submit answers through Canvas

Week 4: Due Monday February 10 @ 9:00 am

The Chinese Remainder Theorem
The Pohlig-Hellman algorithm

To Read

Optional videos from Spring 2021

Pre-Class Questions

  1. Consider the DLP 2x ≡ 21 mod 29. If you apply Shanks Babystep-Giantstep to solve this, how long will each list be?
  2. Why are we studying the Chinese Remainder Theorem now?
  3. Consider the DLP gx ≡ h mod p where g=3, h=7 065 119 811, and p=16 665 249 401.
    Note that g is a primitive root of \( \mathbb{F}_p \) and that p-1=23⋅ 52⋅ 269⋅ 307⋅ 1009 is the prime factorization.
    How many smaller DLPs will you solve when applying Pohlig-Hellman to this DLP?
Submit answers through Canvas

Week 5: Due Monday February 17 @ 9:00 am

The Pohlig-Hellman algorithm

Review the materials from last week, but not questions to submit with the exam this week.


Week 6: Due Monday February 24 @ 9:00 am

Miller-Rabin witnesses for primality testing

To Read

Optional videos from Spring 2021

Pre-Class Questions

  1. Is 38 a Miller-Rabin witness for 289? Explain.
  2. Is 36 a Miller-Rabin witness for 289? Explain.
Submit answers through Canvas

Week 7: Due Monday March 3 @ 9:00 am

Introduction to elliptic curves
Elliptic curves over \( \mathbb{F}_p \)

To Read

Optional videos from Spring 2021

Pre-Class Questions

  1. What's the advantage of using elliptic cuves in cryptography?
  2. Why do we include the point \( \mathcal{O} \) at infinity in our elliptic curves?
  3. If P1 ≠ P2 are points on the elliptic curve E, give a geometric description of the point P1 + P2 on E.
  4. Consider the elliptic curve E: Y2 = X3 -5 X +6 over \( \mathbb{F}_{23} \). Verify that P=(1,5) and Q=(4,2) lie on E and find P+Q.
Submit answers through Canvas