[07-13 03:58:07.316] ERROR DefaultMuleApplication [WrapperListener_start_runner] [event: ]: java.lang.RuntimeException: org.mule.encryption.exception.MuleEncryptionException: Could not encrypt or decrypt the data. javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption. at com.sun.crypto.provider.CipherCore.unpad(CipherCore.java:975) ~[sunjce_provider.jar:1.8.0_212] at com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:1056) ~[sunjce_provider.jar:1.8.0_212] ...If all the properties are encrypted, it shows the "IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher"
[07-13 04:50:48.109] ERROR DefaultMuleApplication [WrapperListener_start_runner] [event: ]: java.lang.RuntimeException: org.mule.encryption.exception.MuleEncryptionException: Could not encrypt or decrypt the data. javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher at com.sun.crypto.provider.CipherCore.prepareInputBuffer(CipherCore.java:1005) ~[sunjce_provider.jar:1.8.0_212] ...
> java -cp secure-properties-tool.jar com.mulesoft.tools.SecurePropertiesTool string encrypt Blowfish CBC DSwwm2ntJO5AmKuhYV7cgmTosSxxxxxx "Hello World" djr77NuUxpFyvmf7OphW1Q==However, in the "Secure Properties Config" of the application, the Algorithm field was set with the default value "AES" in Secure Properties Configuration
2. The algorithm is AES but the decryption key doesn't match the encryption key
001122302

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.