The modular multiplication is essential operation for different public-key cryptographic applications like RivestShamir-Adleman (RSA) and elliptic curve cryptography (ECC). Modular exponentiation is the key operation for the RSA cryptosystem, including encryption and decryption.