Fast Modular Exponentiation Using Residue Domain Representation: A Hardware Implementation And Analysis