I am working a sample involving encryption and decryption and facing issues.
Here is the problem:
While using the "Encrypt and Decrypt Fields" processor when we encrypt something using it, it outputs the resulting fields in a ByteArray format, and when we save it somewhere like localFS the ByteArray gets converted into String Format,
Now when it comes to the decryption part, The processor needs ByteArray format only , So when I try to convert the String into Byte array it results in some unrecognizable characters which causes error.
Encryption:
Decryption:
Please let me know if you have any pointers.