The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

ARPC generation

JavaCard Applet Development Related Questions and Answers.
Posts: 11
Joined: Wed Mar 07, 2018 2:10 am
Points :358

ARPC generation

Post by vikas » Fri Dec 07, 2018 1:54 am

Does any one have idea about generating ARPC using java lang?
I am trying to implement ARPC generation method 1 and did something like this:--

Code: Select all

		SecretKey sk= new SecretKeySpec(key,"DESede");

		cipher = Cipher.getInstance("TripleDES/ECB/NoPadding");
		cipher.init(Cipher.ENCRYPT_MODE, sk);
		int resultLen = cipher.doFinal(data, 0, 8, result, 0);

Who is online

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

JavaCard OS : Disclaimer