Hello,
I'm using B4XEncryption library on Android for encryption and jB4XEncryption in B4J for decryption.
I get the following error when trying to decrypt in B4J:
If I encrypt/decrypt in B4A and in B4J separately, everything is working as expected.
Tried different bouncycastle jars in B4J, from 15 to 18 with the same result.
Both B4A (13.10) and B4J (10.20) use OpenJDK 19.
I decided to migrate from the old Encryption library (used successfully at both ends) to the newer B4XEncryption after the old one stopped to work after upgrading OpenJDK in B4J from 11 to 19.
Any hints?
Thank you.
Dan
I'm using B4XEncryption library on Android for encryption and jB4XEncryption in B4J for decryption.
I get the following error when trying to decrypt in B4J:
org.bouncycastle.crypto.InvalidCipherTextException: pad block corrupted:
If I encrypt/decrypt in B4A and in B4J separately, everything is working as expected.
Tried different bouncycastle jars in B4J, from 15 to 18 with the same result.
Both B4A (13.10) and B4J (10.20) use OpenJDK 19.
I decided to migrate from the old Encryption library (used successfully at both ends) to the newer B4XEncryption after the old one stopped to work after upgrading OpenJDK in B4J from 11 to 19.
Any hints?
Thank you.
Dan
Last edited: