In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

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?

Post by 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: 17
Joined: Mon Dec 07, 2015 11:17 pm
Points :122
Contact:

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

Post by kurihan » Thu Jan 07, 2016 3:44 am

There is no BigInteger mod in Java Card.

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

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

Post by 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?

Post by 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: 630
Joined: Thu May 21, 2015 4:05 am
Points :3021
Contact:

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

Post by 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

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 0 guests

JavaCard OS : Disclaimer