I'm found the problem and I'm kicking myself for not seeing it sooner.
I adapted the sample code from the Commons crypto page, including the
asString() method which I discovered truncated the output to the min of the
byte array length or 50. I don't know why it does that but I didn't think
I haven't had problems using the API like that. Can you share code
that actually compiles? There are some missing parameters in the code
you posted that might make a difference.
e.g. what's the size of the output buffer (decoded).
On Thu, Feb 9, 2017 at 2:41 PM, Dan Quaroni
I've posted this at SO as well where it has nicer formatting, but I'll
include the question here as well. See
http://stackoverflow.com/questions/42147559/java-cryptocipher-doesnt-consume-all-input-bytes
I'm trying to convert from using Chilkat's proprietary decryption library
to Apache's commons