title: Left to right binary modular exponentiation in Javacard
body: <p>I am thinking to implement left to right binary modular exponentiation in Javacard.</p>
  
  <p>I know that there are libraries which can perform RSA encryption etc. but in my case I just need to perform the modular exponentiation.</p>
  
  <p>The only thing that I am confused is that as there is a restriction of usage of the data types as Javacard accepts at most the int data type. But in my case the numbers could also be in double. </p>
  
  <p>Is is still possible to implement this algorithm using Javacard API for the big numbers.</p>