Comparison of the performance of a modular exponentiation