Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

UDF encrypt password

Hello,

I am looking for a java code to encrypt the password with the Argon2i algorithm, I find this https://github.com/phxql/argon2-jvm but I do not know how to use it in Talend

Can someone help me on this?

 

Best regards

 

Labels (3)
3 Replies
Jesperrekuh
Specialist
Specialist

You need to read the documentation, understand the provided steps... so read, google, trial and error... compile .jar file(s).
But luckily you can download them, I'm not sure if it are the latest version: Argon 2 - v2.4 JAR

 

In Talend,

1 - via preferences you can point/add additionial jar files (restart/reload Talend).

Or 

2 - via component tPreJob -> tLibraryLoad.  Next in the component advanced

import <theArgonclasses and other dependency>;

 

Next is java coding to generate the passwords, documentation.

tJava or tJavaRow

 

Try it first with an example / simple job before you integrate it in a real job because you probably need to find your way to get things working.

Good Luck... go for it... if you got this to work... you unlocked the full potential of talend 0683p000009MA9p.png

Jesperrekuh
Specialist
Specialist

You need to read the documentation, understand the provided steps... so read, google, trial and error... compile .jar file(s).
But luckily you can download them, I'm not sure if it are the latest version: Argon 2 - v2.4 JAR

 

In Talend,

1 - via preferences you can point/add additionial jar files (restart/reload Talend).

Or 

2 - via component tPreJob : tLibraryLoad.  Next in the component advanced

import <theArgonclasses and other dependency>;

 

Next is java coding to generate the passwords, documentation.

tJava or tJavaRow

 

Try it first with an example / simple job before you integrate it in a real job because you probably need to find your way to get things working.

Good Luck... go for it... if you got this to work... you unlocked the full potential of talend 0683p000009MA9p.png

Aukema
Creator
Creator

I would use a custom routine for this. Look here for a good example:

https://community.talend.com/t5/Design-and-Development/Create-a-user-routine-and-call-it-in-a-Job/ta...