String Encoding for Talend/JaspersoftETL for Basic Authentication/md5/sha-256

What is a convenient way to encode usernames/passwords for use in my ETL jobs?

First copy the java code on this Github Gist into your clipboard:

Second Create a routine called hashingUtils (name is important!). Paste the Java code from above and save the routine

Third you can now use the following methods in any component:


For example, in a tHttpRequest Component:

1 comment:

campfire ark said...

Hi Sir,

First of all thankyou for sharing this video. Secondly my question is how its going to be secured ? because the other person can decode it very easily using the same as we do. Then how its providing security mechanism here i am unable to understand ?