Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: rboccuzziThere is no native way to currently encrypt/recrypt data. You could create a custom Python or Java node to do this on a field by field basis, or you could create a Java or Python node that takes an entire file and encrypts or decrypts it, and use that as part of the processing of your graph. You could run that node first, give it the encrypted data file and an output file, then run the normal input file (such as a CSV File) node, and when done, you could write the output, and then encrypt it. In other nodes, you could delete the unencrypted file after it was acquired, and delete the output file after encryption. you would want to use clocking to make sure these nodes execute in the correct order if you don't have data dependencies (pin wirings) to force their order.
You could also perform this as you suggest, in a script outside the graph execution, just decryping the file(s), run the graph, and encrypt the results after the graph finishes.
Cheers
Rich