JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
3DES
-
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
- Contact:
Re: 3DES
Yes, that output is correct but that is not coming from java card.
-
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
- Contact:
Re: 3DES
Do you know how to pad terminal data in Java card?
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: 3DES
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
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: 3DES
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.
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
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: 3DES
deepanshsinghal wrote:Do you know how to pad terminal data in Java card?
Append 0x80 + 0x00 * n.
sense and simplicity
-
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
- Contact:
Re: 3DES
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
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: 3DES
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
-
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
- Contact:
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
-
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
- Contact:
Who is online
Users browsing this forum: No registered users and 32 guests