mysto / java-fpe

FPE - Format Preserving Encryption with FF3 in Java
https://privacylogistics.com
Apache License 2.0
59 stars 18 forks source link

Problem with BadPaddingException #12

Closed Jacob-S-Scott closed 1 year ago

Jacob-S-Scott commented 1 year ago

When running sample code provided there is a compilation error. See below:

Exception in thread "main" java.lang.RuntimeException: Uncompilable code - unreported exception javax.crypto.BadPaddingException; must be caught or declared to be thrown

bschoening commented 1 year ago

Jacob, what version of java-fpe, platform and what version of Java?

I tested trunk with Java 17 on MacOS M2 and the build and jshell examples work fine.

bschoening commented 1 year ago

I'm closing this as there are no details on how to reproduce it and my efforts to run it worked fine.