Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.
The chapter discusses modular arithmetic, key algorithms related to it, and their relevance to computer science, particularly in cryptography. It outlines congruence relations, arithmetic rules in modular systems, and emphasizes the inefficiencies of naive algorithms for modular exponentiation in favor of a more efficient square and multiply method. The chapter wraps up with insights into the complexity of modular arithmetic operations.
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
7.5.1
Modular Addition, Subtraction And Multiplication
This section introduces modular arithmetic, focusing on addition, subtraction, and multiplication within a defined modulus, and discusses properties and algorithms crucial for computational applications, especially in cryptography.
References
ch56.pdfClass Notes
Memorization
What we have learnt
Final Test
Revision Tests
Term: Modular Arithmetic
Definition: A system of arithmetic for integers where numbers wrap around upon reaching a specified value, known as the modulus.
Term: Congruence Relation
Definition: A relation that shows two integers have the same remainder when divided by a specified modulus.
Term: Square and Multiply Algorithm
Definition: An efficient algorithm for computing large powers modulo a number, reducing the time complexity from exponential to polynomial.