<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Looking to encrypt data while copying data into database in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Looking-to-encrypt-data-while-copying-data-into-database/m-p/369710#M240537</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104781"&gt;@Vas_R&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How would you like to encrypt that data, as I see you want to do this on each column and each row? Have you something in mind or are you searching for something built in NiFi directly? If you want something directly in NiFi, I do not think that you will find anything that specific.&lt;BR /&gt;&lt;BR /&gt;You could try exporting your relevant data into attributes and use something like &lt;SPAN&gt;CryptographicHashAttribute&lt;/SPAN&gt; Processor in order to use a hash algorithm on those attributes. Next, you can use an AttributesToCSV/AttributesToJSON Processor and generate a new FlowFile with the hashed data. If CSV or JSON is not the best format for you, you can add an extra ConvertRecord and transform your data in whatever format you want. But be careful as this solution will require many resources if you are playing with large amounts of data.&lt;BR /&gt;&lt;BR /&gt;Another solution would be to find an encryption algorithm and implement it within a Script. Add an ExecuteStreamCommand Processor, which will read the AVRO File, perform the encryption and write out the newly generated AVRO File.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 09:21:27 GMT</pubDate>
    <dc:creator>cotopaul</dc:creator>
    <dc:date>2023-04-28T09:21:27Z</dc:date>
  </channel>
</rss>

