Modular Arithmetic In Cryptography