07-28-2021 06:37 AM
Hello Experts,
i’m trying to encrypt one of the field of csv file using Encrypt Field snap.
i have selected transform type as auto and selected account of Passphrase-based Key type.
As a result of encrypt field snap ,field got encrypted.
in next snap i’m mapping encrypted field(column.ciphertext) and other columns and writing data to file.
In second pipeline reading encrypted file and trying to decrypt using same Passphrase-based Key based account.
but encrypted field is not getting decrypted .
Attaching pipeline for reference .
decFIle_2021_07_28.slp (10.8 KB)
Encrypt file_2021_07_28.slp (10.8 KB)
Regards,
Ajay
08-27-2021 05:34 AM
Is there any way to pass an encrypted value from a trigger string and decrypt?
Peter
07-29-2021 04:58 AM
Hi @rsramkoski
you mean to say this are the mandatory fields and we need to pass all of them to decrypt field snap?
means i need to pass entire msg object as it is to decrypt field snap? just storing ciphertext and passing to decrypt field snap will not work?
07-29-2021 06:05 AM
@Ajay_Chawda Yes that is correct. All those fields need to be supplied to the Decrypt Field Snap in order to decrypt the field. If some of the values are constant, like “transformation” and “type”, you shouldn’t need to store those but you will need to add them via a Mapper snap in the pipeline that decrypts the field.
07-29-2021 06:24 AM
Hi @rsramkoski
Thank you for response .