Java 8 doesn’t support provider “AES/ECB/PKCS7Padding” .
Exception in thread "main" java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES/ECB/PKCS7Padding at javax.crypto.Cipher.getInstance(Cipher.java:540) at security.EncryptionDecryptionURLParam.main(EncryptionDecryptionURLParam.java:31)
Java 8 doesn’t support provider “AES/ECB/PKCS7Padding” use provider as “AES/ECB/PKCS5Padding” as used in given example for Encryption and Decryption.
- How to do Encryption and Decryption for plain text/password in JAVA
- JAVA Encryption and Decryption of URL Parameter
For more other JAVA/JDBC issues solution follow link JAVA/JDBC Issues.