JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

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 :140
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 36 guests

JavaCard OS : Disclaimer