Hi,

I'm working with customer with very restrict security rules for store the business data. I'm using the component Crypt API to encrypt and decrypt text on the database and works fine.


Now, i need the same behavior for encrypt and decrypt pdf files on filesystems, because the binary aren't stored in database.

Exists any simple way to do it?


Thank you.

Solution

Hi,


1. you could zip it with an encrypted password

2. if that is not enough, encrypt the binary data


Solution

Hi,


You could create encryption on Integration Studio using c#.


Thanks

J. wrote:

Hi,


1. you could zip it with an encrypted password

2. if that is not enough, encrypt the binary data




Hi,


The first solution isn't ideal, but can the the unique solution.

I'm try to encrypt the binary data using the expression:


I already replaced the function BinaryToBase64 by BinaryToText, but not works. I'm getting the error:Bad Length, when try to Encrypt, and i not understand why.


What is wrong in my expression?