I'm taking a cryptography class and we are going over proofs and modulus equations for hashing. On our homework assignment, one of the questions is to prove the following...
(ab) mod m = [(a mod m)(b mod m)] mod m
I understand that a = b mod m means that m | (a - b) and that m | (a - b) by definition means that a = b + mk but I'm struggling to make the connection on how to prove the above equation and the professor's slides and notes aren't very helpful as this is far more difficult than the examples he's done in class.
Any help or guidance is much appreciated!