Announce two new product: SmartCard Reader Rockey200 and USB2.0 Extension Cable

ROCKEY 200 is a handy and portable USB Smart Card reader that can perform read/write operations on any ISO 7816-1/2/3/4 smart cards which are compatible with protocol T=0 and T=1.

USB2.0 Extension Cable With high speed USB 2.0 devices such as USB token ,USB Card Reader and so on.

Come to try it 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: 17
Joined: Mon Dec 07, 2015 11:17 pm
Points: 122
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: 219
Joined: Mon May 18, 2015 3:09 am
Points: 1501
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: 2975
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