Hi everyone
We're using AES-CBC with PKCS7 padding via the Symmetric Encryption assertion in Layer7. The encrypted output includes the IV and is base64-encoded.
On decryption, we get valid JSON, but with a few unexpected characters before the {
. The same decryption logic works fine with ciphertexts from online tools, so the issue seems to be with how the assertion formats the encrypted output.
Since the assertion handles IV and encoding internally, is there a known reason this might happen? Any suggestions or best practices to prevent junk characters in the decrypted result would be appreciated.

Thanks in advance!
Balaji Prasanth S
