Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine

In this tutorial i guide you fix a below issue on encrypt/decrypt in java using jasypt library

Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine

To fix this issue you need download Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files and replace the files in $JAVA_HOME\jre\lib\security or $JRE_HOME\lib\security depend on  what java you use to run your application

One thought on “Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine”

Leave a Reply