Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Can I clear the algorithm instance?

Algorithm School

Moderator: UNKNwYSHSA

KevinAli
Posts: 24
Joined: Fri Aug 21, 2015 3:38 am
Points :104
Contact:

Can I clear the algorithm instance?

Post by KevinAli » Wed Nov 25, 2015 7:22 am

As we all know,when we write an applet, we should create the algorithm instance before calling one encryption algorithm.

For example,

Code: Select all

theCipher = Cipher.getInstance(Cipher.ALG_AES_BLOCK_128_CBC_NOPAD,false)

Qs:
After using the algorithm to do encryption, can I clear this instance?
-If Yes, how can I do it?

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :138
Contact:

Re: Can I clear the algorithm instance?

Post by horse dream » Thu Nov 26, 2015 11:25 pm

Yes, you can clear the instance by setting it to NULL.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 17 guests

JavaCard OS : Disclaimer