<?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: Encryption &amp; decryption using Talend and MySQL db in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374648#M137216</link>
    <description>&lt;P&gt;This is very easy to implement using Jasypt (&lt;A href="http://www.jasypt.org/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.jasypt.org/&lt;/A&gt;) and system environment variables. On the machines running your jobs you can set up system environment variables which hold your passwords (or passwords to decrypt secondary passwords stored elsewhere for extra obfuscation), then in your jobs use Jasypt to encrypt/decrypt your data. It requires a bit of Java, but it really isn't that difficult to achieve. Jasypt is actually supplied with Talend, so you shouldn't need to download anything for this.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Apr 2018 09:46:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-19T09:46:09Z</dc:date>
    <item>
      <title>Encryption &amp; decryption using Talend and MySQL db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374647#M137215</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question is&amp;nbsp;if&amp;nbsp;there is&amp;nbsp;any&amp;nbsp;solution&amp;nbsp;to&amp;nbsp;encrypt/decrypt the data in&amp;nbsp;talend&amp;nbsp;but without&amp;nbsp;putting&amp;nbsp;my&amp;nbsp;password&amp;nbsp;in&amp;nbsp;clear&amp;nbsp;in the&amp;nbsp;code&amp;nbsp;java because all the&amp;nbsp;solution&amp;nbsp;that&amp;nbsp;i&amp;nbsp;saw&amp;nbsp;you&amp;nbsp;need&amp;nbsp;to&amp;nbsp;put&amp;nbsp;either your&amp;nbsp;password&amp;nbsp;or the key used to&amp;nbsp;encrypt&amp;nbsp;in the&amp;nbsp;code&amp;nbsp;in&amp;nbsp;clear&amp;nbsp;(For example&amp;nbsp;tEncryptColumn /tDecryptColumn&amp;nbsp;,&amp;nbsp;JavaXCrypto,Jasypt&amp;nbsp;...)&amp;nbsp;so&amp;nbsp;i&amp;nbsp;was wondering&amp;nbsp;if&amp;nbsp;there's&amp;nbsp;any&amp;nbsp;solution&amp;nbsp;to&amp;nbsp;do&amp;nbsp;that .&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;tMysqlInput&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;-------Decrypt---------&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;Tmap&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;--------Encrypt-------&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;tMysqlOutput&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="s-rg-t"&gt;For&lt;/SPAN&gt;&amp;nbsp;the DB I'm using MySQL.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 07:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374647#M137215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T07:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption &amp; decryption using Talend and MySQL db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374648#M137216</link>
      <description>&lt;P&gt;This is very easy to implement using Jasypt (&lt;A href="http://www.jasypt.org/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.jasypt.org/&lt;/A&gt;) and system environment variables. On the machines running your jobs you can set up system environment variables which hold your passwords (or passwords to decrypt secondary passwords stored elsewhere for extra obfuscation), then in your jobs use Jasypt to encrypt/decrypt your data. It requires a bit of Java, but it really isn't that difficult to achieve. Jasypt is actually supplied with Talend, so you shouldn't need to download anything for this.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 09:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374648#M137216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T09:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption &amp; decryption using Talend and MySQL db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374649#M137217</link>
      <description>&lt;P&gt;Thank you for replying&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how to make the connection between my&amp;nbsp;system environment variables and&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Jasyp in talend . do i need to create new contexte ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 10:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374649#M137217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T10:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption &amp; decryption using Talend and MySQL db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374650#M137218</link>
      <description>&lt;P&gt;This code is from a routine I use in my Talend jobs......&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;public static String getEnvironmentVariable(String variableName) {
		String returnVal = System.getenv(variableName);

		if (returnVal == null) {
			System.out.println(variableName
					+ " does not exist or holds no value");
		}

		return returnVal;
	}&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Apr 2018 12:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374650#M137218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T12:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption &amp; decryption using Talend and MySQL db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374651#M137219</link>
      <description>&lt;P&gt;thank you for the example&lt;/P&gt;&lt;P&gt;So i wrote a java code&amp;nbsp; and i'm getting this error :&amp;nbsp;&amp;nbsp;StandardPBEStringEncryptor cannot be resolved to a type :&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is m'y code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;String mdp = System.getenv("MDP");&lt;/P&gt;&lt;P&gt;if (mdp == null) {&lt;BR /&gt;System.out.println(&lt;BR /&gt;" does not exist");&lt;BR /&gt;} else System.out.println(mdp);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;StandardPBEStringEncryptor encryptor = new StandardPBEStringEncryptor();&lt;BR /&gt;encryptor.setPassword(mdp); // we HAVE TO set a password&lt;BR /&gt;encryptor.setAlgorithm("PBEWithMD5AndTripleDES");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;String encryptedText = encryptor.encrypt(row2.libelle_bu);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 14:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374651#M137219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T14:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Encryption &amp; decryption using Talend and MySQL db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374652#M137220</link>
      <description>&lt;P&gt;You need to either supply the full path to the Java class or import it.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 14:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Encryption-decryption-using-Talend-and-MySQL-db/m-p/2374652#M137220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T14:12:56Z</dc:date>
    </item>
  </channel>
</rss>

