Our express partner will perform scheduled system maintenance from 19th Jan to 3rd Feb, so during this time, all the orders in our webshop will be handled from 4th Feb.
Sorry for any inconvenience caused.

How to implement os2ip and i2osp as per PKCS#1 specification in javacard ?

JavaCard Applet Development Related Questions and Answers.
nikhilnick23
Posts: 3
Joined: Thu Jan 23, 2020 8:37 am
Points :50
Contact:

How to implement os2ip and i2osp as per PKCS#1 specification in javacard ?

Post by nikhilnick23 » Mon Feb 24, 2020 7:42 am

Hello All

I need to implement OS2IP and I2OSP as per PKCS#1 specifications but there is one challenge.

In java there is one class BigInterger which we can use to perform both arithmetic and modulo arithmetic operations on Big integer values.

But how do we implement the same in case of javacard ? Although there is one class BigNumber which we can may be use to perform arithmetic operations(but no modulo arithmetic operations) on big integers values but its limitation is only upto 8 bytes what about really big integer values like 150-160 digits long ?

Who is online

Users browsing this forum: No registered users and 3 guests

JavaCard OS : Disclaimer