<?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>topic Re: data masking / encryption in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258166#M40053</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hey&amp;nbsp;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;AdrienServian,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;thanks for the help I've tried to use&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;B&gt;&lt;FONT size="2"&gt;row1.IP_ADDRESS.hashcode() straight&amp;nbsp;in a tmap with row1 as a string and the output as an int however this fails with the method hashcode() is undefined for the type string if its not too much trouble could you go into a bit more detail on usage or is there some documentation explaining&amp;nbsp;this?&amp;nbsp;&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Java is case sensitive. &amp;nbsp;The method name is hashCode(). &amp;nbsp;I put together a simple job that reads in a single column file and uses a tMap to add a column with the expression "row1.IP_ADDRESS.hashCode();" &amp;nbsp;The job runs to completion and creates a different integer for each unique input value.</description>
    <pubDate>Wed, 16 Nov 2016 15:43:47 GMT</pubDate>
    <dc:creator>cterenzi</dc:creator>
    <dc:date>2016-11-16T15:43:47Z</dc:date>
    <item>
      <title>data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258160#M40047</link>
      <description>Hey guys,&amp;nbsp;
&lt;BR /&gt;i have a requirement to mask data before i push it into a cloud database so in TOS i want to encrypt or hash ip address data and then after it has been encrypted or hashed compare the values to identify if two people have used the same ip address without decryption in in the destination database how can i do this is it possible in a tmap? &amp;nbsp;&amp;nbsp;</description>
      <pubDate>Tue, 15 Nov 2016 04:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258160#M40047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-15T04:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258161#M40048</link>
      <description>Hi 2ndofafew, 
&lt;BR /&gt;Yes you can do that in TOS. Easiest way to encrypt is using the&amp;nbsp;PasswordEncryptUtil.encryptPassword supplied by Talend natively. You can modify the code &amp;lt;main install folder&amp;gt;/ 
&lt;A href="https://github.com/Talend/tcommon-studio-se/tree/master/main/plugins" target="_blank" rel="nofollow noopener noreferrer"&gt;plugins&lt;/A&gt;/ 
&lt;A href="https://github.com/Talend/tcommon-studio-se/tree/master/main/plugins/org.talend.librariesmanager" target="_blank" rel="nofollow noopener noreferrer"&gt;org.talend.librariesmanager&lt;/A&gt;/ 
&lt;A href="https://github.com/Talend/tcommon-studio-se/tree/master/main/plugins/org.talend.librariesmanager/resources" target="_blank" rel="nofollow noopener noreferrer"&gt;resources&lt;/A&gt;/ 
&lt;A href="https://github.com/Talend/tcommon-studio-se/tree/master/main/plugins/org.talend.librariesmanager/resources/java" target="_blank" rel="nofollow noopener noreferrer"&gt;java&lt;/A&gt;/ 
&lt;A href="https://github.com/Talend/tcommon-studio-se/tree/master/main/plugins/org.talend.librariesmanager/resources/java/routines" target="_blank" rel="nofollow noopener noreferrer"&gt;routines&lt;/A&gt;/ 
&lt;A href="https://github.com/Talend/tcommon-studio-se/tree/master/main/plugins/org.talend.librariesmanager/resources/java/routines/system" target="_blank" rel="nofollow noopener noreferrer"&gt;system&lt;/A&gt;/PasswordEncryptUtil.java in order to get a unique key. 
&lt;BR /&gt;If you want something even simpler you can apply (int) row1.originatedIp.hashCode(). 
&lt;BR /&gt;Then from your other process, just re-apply the same encryption/hashing and compare the two values with a lookup in your tMap.&amp;nbsp;Since you database can be huge, I would probably do a Lookup Model = Reload at each row and applied the hash on the globalMapKey 
&lt;BR /&gt;After be aware that you can have in very rare scenarios some false positive / collisions. As well as people in large companies can be behind a proxy and then be originated from the same IP. 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}</description>
      <pubDate>Tue, 15 Nov 2016 05:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258161#M40048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-15T05:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258162#M40049</link>
      <description>Hey&amp;nbsp; 
&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;AdrienServian,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;BR /&gt; 
&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;thanks for the help I've tried to use&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;B&gt;&lt;FONT size="2"&gt;row1.IP_ADDRESS.hashcode() straight&amp;nbsp;in a tmap with row1 as a string and the output as an int however this fails with the method hashcode() is undefined for the type string if its not too much trouble could you go into a bit more detail on usage or is there some documentation explaining&amp;nbsp;this?&amp;nbsp;&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 15 Nov 2016 05:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258162#M40049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-15T05:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258163#M40050</link>
      <description>Hi,&lt;BR /&gt;Could you please take a look at this KB article about:&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=190513316" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter: How to setup encryption of the passwords in Talend Studio?&lt;/A&gt;&amp;nbsp;to see if it is what you are looking for?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 15 Nov 2016 08:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258163#M40050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-15T08:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258164#M40051</link>
      <description>Hey Xdshi, how could i apply this in a TMap on a data flow?&amp;nbsp;</description>
      <pubDate>Tue, 15 Nov 2016 22:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258164#M40051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-15T22:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258165#M40052</link>
      <description>Hi,&lt;BR /&gt;You can call your custom routine in tMap component.&lt;BR /&gt;Here is a KB article about:&lt;A href="https://help.talend.com/search/all?query=Creating+a+user+routine&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:Creating a user routine and call it in a Job&lt;/A&gt;.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 16 Nov 2016 09:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258165#M40052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-16T09:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258166#M40053</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hey&amp;nbsp;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;AdrienServian,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;thanks for the help I've tried to use&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;B&gt;&lt;FONT size="2"&gt;row1.IP_ADDRESS.hashcode() straight&amp;nbsp;in a tmap with row1 as a string and the output as an int however this fails with the method hashcode() is undefined for the type string if its not too much trouble could you go into a bit more detail on usage or is there some documentation explaining&amp;nbsp;this?&amp;nbsp;&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Java is case sensitive. &amp;nbsp;The method name is hashCode(). &amp;nbsp;I put together a simple job that reads in a single column file and uses a tMap to add a column with the expression "row1.IP_ADDRESS.hashCode();" &amp;nbsp;The job runs to completion and creates a different integer for each unique input value.</description>
      <pubDate>Wed, 16 Nov 2016 15:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258166#M40053</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2016-11-16T15:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258167#M40054</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;DIV class="g-unit"&gt; 
 &lt;DIV&gt; 
  &lt;DIV class=""&gt; 
   &lt;DIV&gt;
     &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt; 
   &lt;/DIV&gt; 
   &lt;DIV&gt;
     &amp;nbsp;hi , 
   &lt;/DIV&gt; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt; 
&lt;DIV class="g-unit"&gt; 
 &lt;DIV&gt; 
  &lt;DIV&gt; 
   &lt;DIV&gt; 
    &lt;DIV&gt; 
     &lt;DIV class="trans-verified-button-small"&gt; 
      &lt;SPAN class=""&gt;&lt;SPAN&gt;I am really new to the Talend open studio version 7.0 technology, and I am currently working on an project "anonymization" for the tables.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;In my STD they ask me to anonymize on several tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the management rules&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Replace the string by 5 characters randomly generate followed by the string "archives"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ISO code case: Replace the string with "FR"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Case of the email: Replace the chain of characters email by "archives@archives.com"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IBAN code case: replaces the string with: "BL679999999999999999999934"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not know how and what component or routine does he do the job?&lt;/SPAN&gt;&lt;BR /&gt;I thank you for your collaboration I would be very grateful&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/SPAN&gt; 
     &lt;/DIV&gt; 
    &lt;/DIV&gt; 
   &lt;/DIV&gt; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Sun, 11 Nov 2018 22:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258167#M40054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-11T22:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: data masking / encryption</title>
      <link>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258168#M40055</link>
      <description>Based on your use case, all you need is a tMap to change the value for the desired fields</description>
      <pubDate>Sun, 11 Nov 2018 22:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/data-masking-encryption/m-p/2258168#M40055</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-11T22:30:40Z</dc:date>
    </item>
  </channel>
</rss>

