File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes NoSuchAlgorithmException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "NoSuchAlgorithmException" Watch "NoSuchAlgorithmException" New topic


Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 125
Hi All,

I was trying to decrypt a file using java, which my friend encrypted using AES256 in code is as follows

when i run this program iam getting this exception Cannot find any provider supporting AES256 Cannot find any provider supporting AES256
at javax.crypto.Cipher.getInstance(DashoA12275)
at FileEncrypter.<init>(
at FileEncrypter.main(
at FileEncrypter.decryptFile(
at FileEncrypter.main(

Any help will be highly appreciated


The biggest bankruptcy is the loss of enthusiasm
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41124
Welcome to JavaRanch.

According to this page, the algorithm is named "AES", not "AES256".

Ping & DNS - my free Android networking tools app
Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 125
Thank You
I agree. Here's the link:
subject: NoSuchAlgorithmException
Similar Threads
encryption decryption
BadPaddingException with DES
AES256, cryptoPerms and Unlimited Cryptography
How to create SecretKey for AES 128 Encryption based on user's password??
problem in encryption of ZIP files.