Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Search found 19 matches: re:

Searched query: re

by JCaberham
Thu Jan 31, 2019 5:51 am
Forum: Algorithm School
Topic: Is there a good way to implement an AES-CMAC encryption on Java Cards?
Replies: 4
Views: 23964

Re: Is there a good way to implement an AES-CMAC encryption on Java Cards?

You can implement AES-CMAC from scratch using the AES Cipher and Signature objects, and it's possible and not too difficult.
by JCaberham
Wed Sep 27, 2017 5:54 am
Forum: Questions & Answers
Topic: Sinus and Cosinus calculation in javacard?
Replies: 5
Views: 10462

Re: Sinus and Cosinus calculation in javacard?

To handle the angle with decimals, try to use this formula
sin(a+b) =sina*cosb+cosa*sinb
cos(a+b) = cosa*cosb - sina*sinb


Take angle 45.5 as an example,

sin(45+0.5) = sina45*cos0.5 + cos45*sin0.5

But you may need to define 4 arrays sin[0~360], cos[0~360], sin[0.0~0.1],cos[0.0~0.1]
by JCaberham
Wed Sep 06, 2017 10:35 pm
Forum: Questions & Answers
Topic: Issue about using CAC
Replies: 1
Views: 5479

Re: Issue about using CAC

Try to google it by typing GSC-IS keywords.
by JCaberham
Mon Aug 28, 2017 5:20 am
Forum: Questions & Answers
Topic: How to invoke a simple java card method?
Replies: 3
Views: 7464

Re: How to invoke a simple java card method?

You'd better carefully study the finished simple applet, e.g. wallet demo..
by JCaberham
Mon Aug 28, 2017 5:14 am
Forum: Questions & Answers
Topic: verify function cannot work
Replies: 2
Views: 6995

Re: verify function cannot work

It seems that the keypair you set is invalid. You do not need to set the keys manually as

Code: Select all

keyPair.genKeyPair();
actually generates a valid keypair for you.
by JCaberham
Thu Aug 17, 2017 6:15 am
Forum: Open Source Applets
Topic: Smart Card Gids Applet
Replies: 12
Views: 67337

Re: Smart Card Gids Applet

In my opinion, this doesn't have any problem. Because GIDS is defined based on windows framework, it's not strange that it cannot work with opensc. But I am not sure if my thought is correct.
by JCaberham
Mon Jul 24, 2017 11:07 pm
Forum: Questions & Answers
Topic: ROM applet
Replies: 1
Views: 5549

Re: ROM applet

You can have your applet masked into the ROM by a card manufacturer. This will remove the need for APDU's to install your applet. But you will still need to use APDU's for anything, including embedded applications on the device, to communicate with your applet. A Java Card applet is passive and does...
by JCaberham
Mon Mar 13, 2017 4:21 am
Forum: Algorithm School
Topic: Error when generating CMAC
Replies: 1
Views: 6713

Re: Error when generating CMAC

Your computation method has something wrong. You should notice that: the last block is DES3 encrypted, ICV is last calculated C_MAC
by JCaberham
Thu Feb 02, 2017 5:56 am
Forum: Algorithm School
Topic: Elliptic Curve Cryptography
Replies: 1
Views: 6645

Re: Elliptic Curve Cryptography

It's recommended to check JavaCard API document firstly.You will find the basic introduction about these. public static final byte ALG_EC_F2M: KeyPair object containing an EC key pair for EC operations over fields of characteristic 2 with polynomial basis. public static final byte ALG_EC_FP: KeyPair...
by JCaberham
Thu Jan 19, 2017 10:36 pm
Forum: Algorithm School
Topic: 3DES Key
Replies: 2
Views: 7676

Re: 3DES Key

If you use bouncy castle, you can use a 16 byte 2TDEA key.
JavaCard OS : Disclaimer