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.

3DES

JavaCard Applet Development Related Questions and Answers.
deepanshsinghal
Posts: 44
Joined: Thu Apr 06, 2017 8:01 am
Points :460
Contact:

Re: 3DES

Post by deepanshsinghal » Thu Jun 01, 2017 7:43 am

Yes, that output is correct but that is not coming from java card.

deepanshsinghal
Posts: 44
Joined: Thu Apr 06, 2017 8:01 am
Points :460
Contact:

Re: 3DES

Post by deepanshsinghal » Thu Jun 01, 2017 8:43 am

Do you know how to pad terminal data in Java card?

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

Re: 3DES

Post by UNKNwYSHSA » Thu Jun 01, 2017 9:46 am

Give me your email address, I will send my applet source code to you. The applet can generate correct result from the JavaCard.
sense and simplicity

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

Re: 3DES

Post by UNKNwYSHSA » Thu Jun 01, 2017 10:34 pm

I had test JC30M48CR card right now, here is the result:


Here is the applet source code.


And APDU commans with the data you specified.

Code: Select all

// Set key: 3E45556BE812C4422518A81A556ACEE8;
00000000103E45556BE812C4422518A81A556ACEE8;
// Generate AC with data: 00000000031400000000000003560420008000035616080200549E74AD22000000000000000000003F000210000001;
000100002F00000000031400000000000003560420008000035616080200549E74AD22000000000000000000003F000210000001;
You do not have the required permissions to view the files attached to this post. Please login first.
sense and simplicity

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

Re: 3DES

Post by UNKNwYSHSA » Thu Jun 01, 2017 10:40 pm

deepanshsinghal wrote:Do you know how to pad terminal data in Java card?


Append 0x80 + 0x00 * n.
sense and simplicity

deepanshsinghal
Posts: 44
Joined: Thu Apr 06, 2017 8:01 am
Points :460
Contact:

Re: 3DES

Post by deepanshsinghal » Thu Jun 01, 2017 11:21 pm

UNKNwYSHSA wrote:
deepanshsinghal wrote:Do you know how to pad terminal data in Java card?


Append 0x80 + 0x00 * n.


I sent you my email address. can you check that

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

Re: 3DES

Post by UNKNwYSHSA » Fri Jun 02, 2017 12:07 am

deepanshsinghal wrote:
UNKNwYSHSA wrote:
deepanshsinghal wrote:Do you know how to pad terminal data in Java card?


Append 0x80 + 0x00 * n.


I sent you my email address. can you check that


Look this reply: viewtopic.php?p=3789#p3787. I already put the applet there.
sense and simplicity

deepanshsinghal
Posts: 44
Joined: Thu Apr 06, 2017 8:01 am
Points :460
Contact:

Re: 3DES

Post by deepanshsinghal » Fri Jun 02, 2017 12:13 am

Can you send me the commands for that applet

You do not have the required permissions to view the files attached to this post. Please login first.

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

Re: 3DES

Post by UNKNwYSHSA » Fri Jun 02, 2017 1:51 am

You do not have the required permissions to view the files attached to this post. Please login first.
sense and simplicity

deepanshsinghal
Posts: 44
Joined: Thu Apr 06, 2017 8:01 am
Points :460
Contact:

Re: 3DES

Post by deepanshsinghal » Fri Jun 02, 2017 2:11 am

You do not have the required permissions to view the files attached to this post. Please login first.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Google [Bot] and 61 guests

JavaCard OS : Disclaimer