Hi BullyBoo, this is my test code String data = "abc"; String key = "key 4 test"; String iv = "vector 4 test"; String encrypt = Encoder.BuilderAES() .keySize(AES.Key.SIZE_128) .message(data) .method(AES.Method.AES_CBC_PKCS5PADDING) .key(key) .iVector(iv).encrypt(); System.out.println(encrypt.length()); after trim(), the length of encrypt will reduce 1, it‘s a newline character, i do not know if it is added purposeful, if not maybe this is a bug
Activity
BullyBoo commentedon Mar 12, 2018
Thank you for your comment.
I will fix it in the nearest time.
It happens when result of byte array is encode with base64 with flag DEFAULT.
jrcacd commentedon Sep 11, 2019
When can we have a fix on this?