Search found 630 matches
- Thu Jun 08, 2017 4:05 am
- Forum: Questions & Answers
- Topic: ARPC generation
- Replies: 22
- Views: 32696
Re: ARPC generation
public void generateSecondAC(APDU apdu, byte[] apduBuffer) { short dataLen = apduBuffer[OFFSET_LC]; Util.arrayCopy(apduBuffer, (short) 5, onlineARPC, (short) 0, (short) 8); Util.arrayCopy(apduBuffer, (short) 0x0D, responseCode, (short) 0, (short) 2); byte[] Y = new byte[8]; // XOR between ARQC and ...
- Thu Jun 08, 2017 4:02 am
- Forum: Questions & Answers
- Topic: ARPC generation
- Replies: 22
- Views: 32696
Re: ARPC generation
public void generateSecondAC(APDU apdu, byte[] apduBuffer) { short dataLen = apduBuffer[OFFSET_LC]; Util.arrayCopy(apduBuffer, (short) 5, onlineARPC, (short) 0, (short) 8); Util.arrayCopy(apduBuffer, (short) 0x0D, responseCode, (short) 0, (short) 2); byte[] Y = new byte[8]; // XOR between ARQC and ...
- Wed Jun 07, 2017 11:24 pm
- Forum: Questions & Answers
- Topic: 3DES
- Replies: 47
- Views: 55920
Re: 3DES
deepanshsinghal wrote:UNKNwYSHSA wrote:Sorry for later response.
Let me have a research.
No problem....
I already reply in this post: viewtopic.php?f=15&t=1208
- Wed Jun 07, 2017 11:22 pm
- Forum: Questions & Answers
- Topic: ARPC generation
- Replies: 22
- Views: 32696
Re: ARPC generation
1. This is the tool output : [2017-06-08 10:51:15] BP-Tools - Cryptographic Calculator is ready ******************** [2017-06-08 10:51:17] EMV Cryptography: ARPC generation finished **************************************** ARPC Method: 1 Response Code: Y3: Unable to go online (offline approved) Ses...
- Wed Jun 07, 2017 9:49 pm
- Forum: Questions & Answers
- Topic: 3DES
- Replies: 47
- Views: 55920
Re: 3DES
Hi, I started working on ARPC verification. For that i need to generate my own ARPC in chip card. i worked on that as per emv standards. public void generateSecondAC(APDU apdu, byte[] apduBuffer) { byte[] iad = new byte[8]; byte[] atcBuffer = new byte[8]; // First 2 bits of P1 specify the type // T...
- Fri Jun 02, 2017 3:13 am
- Forum: Questions & Answers
- Topic: 3DES
- Replies: 47
- Views: 55920
Re: 3DES
It's my pleasure, my friend!
- Fri Jun 02, 2017 3:01 am
- Forum: Questions & Answers
- Topic: 3DES
- Replies: 47
- Views: 55920
Re: 3DES
OK, OK.
- Fri Jun 02, 2017 2:58 am
- Forum: Questions & Answers
- Topic: 3DES
- Replies: 47
- Views: 55920
Re: 3DES
What the version of your JCIDE? This is mine: JCIDE-version.png JCID_Version.png Are you using protocol T=0? There's wrong with my applet source code. The code for INS 0x00 shall be: case (byte) 0x00: apdu.setIncomingAndReceive(); key.setKey(buf, ISO7816.OFFSET_CDATA); break; And all will be OK.
- Fri Jun 02, 2017 2:54 am
- Forum: Questions & Answers
- Topic: 3DES
- Replies: 47
- Views: 55920
Re: 3DES
What's happened!?
- Fri Jun 02, 2017 2:34 am
- Forum: Questions & Answers
- Topic: 3DES
- Replies: 47
- Views: 55920
Re: 3DES
What the version of your JCIDE?
This is mine:
This is mine: