Christmas is coming soon! To thank for the support from all our dear customers, Christmas promotional activity is going on in JavaCardOS online store. For more activities details, please check this post.

ARPC generation

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

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: No registered users and 2 guests

JavaCard OS : Disclaimer