Tutorvo

Fast Modular Exponentiation: Square-and-Multiply

Lesson 6 of 816 minLab

This lesson is part of the course

In this lesson

You compute 2790^2753 mod 3233 with a 12-row square-and-multiply table: the bits of the exponent, repeated squaring and the running result.

Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.

Lessons in this course

  1. MOD & Clock Arithmetic: Remainders That Wrap AroundLab12 min Locked
  2. Caesar & Affine Ciphers: Letters as NumbersLab15 min Locked
  3. Frequency Analysis: Breaking a Caesar Cipher with COUNTIFLab14 min Locked
  4. GCD & Euclid's Algorithm: A Step TableLab14 min Locked
  5. Modular Inverse with the Extended Euclidean AlgorithmLab16 min Locked
  6. Fast Modular Exponentiation: Square-and-MultiplyLab16 min Locked
  7. Toy RSA: Keys, Encryption & DecryptionLab16 min Locked
  8. Check Digits & Hashing Ideas: ISBN-13 and LuhnLab14 min Locked