Christmas is coming!

To celebrate the new year and thank for the support from all our dear customers, Christmas promotional activity is being held in JavaCardOS online store.

During the event, you can enjoy many promotional activities - High Discount on JavaCardOS products,Lucky Draw,Double forum Points.

Come to choose your own Christmas gift and try your luck now!

Are there functions like BigInteger.modPow, modMul in JavaCard?

Communication

Moderator: UNKNwYSHSA

shibulijack
Posts: 8
Joined: Tue Dec 15, 2015 2:09 am
Points: 49
Contact:

Are there functions like BigInteger.modPow, modMul in JavaCard?

Postby shibulijack » Mon Jan 04, 2016 3:02 am

I am trying to implement my own Encryption Algorithm. Are there functions like BigInteger.modPow, modMul in JavaCard. And are there any libraries to do this?

kurihan
Posts: 16
Joined: Mon Dec 07, 2015 11:17 pm
Points: 108
Contact:

Re: Are there functions like BigInteger.modPow, modMul in JavaCard?

Postby kurihan » Thu Jan 07, 2016 3:44 am

There is no BigInteger mod in Java Card.

User avatar
mabel
Posts: 218
Joined: Mon May 18, 2015 3:09 am
Points: 1485
Contact:

Re: Are there functions like BigInteger.modPow, modMul in JavaCard?

Postby mabel » Thu Jan 07, 2016 3:46 am

Maybe you can try to use BigNat library.

vasilis
Posts: 2
Joined: Fri Sep 15, 2017 8:56 am
Points: 20
Contact:

Re: Are there functions like BigInteger.modPow, modMul in JavaCard?

Postby vasilis » Fri Sep 15, 2017 9:09 am

Apologies for digging an old thread out.

Just wanted to mention JCMathLib, which (among others) provides a big number class and modulo operations.

We have our source code and documentation here: https://opencryptojc.org

User avatar
UNKNwYSHSA
Posts: 628
Joined: Thu May 21, 2015 4:05 am
Points: 2971
Contact:

Re: Are there functions like BigInteger.modPow, modMul in JavaCard?

Postby UNKNwYSHSA » Sat Sep 16, 2017 11:50 pm

You can ask card provider to implemente BigInteger functions into CardOS.
JavaCardOS can do that. You can contact them for your requirement. (Through email: javacardos@gmail.com)
sense and simplicity


Return to “Communication”

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer