Can I clear the algorithm instance?
Posted: 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,
Qs:
After using the algorithm to do encryption, can I clear this instance?
-If Yes, how can I do it?
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?