Android : java.security.NoSuchAlgorithmException: AES/ECB/PKCS5Padding

on Thursday, October 9, 2014


I am developing an android application in which it is necessary to decrypt the file. I specify an algorithm as follows:



Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding", "Crypto");


But get the error:



java.security.NoSuchAlgorithmException: AES/ECB/PKCS5Padding



What is my mistake?


Thanks.


0 comments:

Post a Comment