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

Search found 1 match

by TobyCao
Thu May 30, 2019 5:02 am
Forum: Applets Development Guide
Topic: The ALgorithm of DES Sample Code
Replies: 8
Views: 7342

Re: The ALgorithm of DES Sample Code

I just fix one bug. :D public ThirdDemo() { desKey = new byte[32]; desICV = new byte[8]; desKeyLen = 0; //Create a DES ECB/CBS object instance of the DES algorithm. desEcbCipher = Cipher.getInstance(Cipher.ALG_DES_ECB_NOPAD, false); desCbcCipher = Cipher.getInstance(Cipher.ALG_DES_CBC_NOPAD, false);...
JavaCard OS : Disclaimer