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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
PRelumyx1623183323
Contributor
Contributor

Use HASH function on multiple columns

Hi all,

I am searching for a HASH function I can use to HASH multiple columns of my database after a input. I know there is a component called tAddCRCRow, but the chances for a HASH collision are very high.

Is it possible to use MD5 or something like that instead?

Cheers!

Labels (2)
4 Replies
gjeremy1617088143
Master
Master

Hi , you can use the function DataMasking.createMD5(your string) : Calculates MD5 hash value from String.

Send Me love and Kudos

Papademuchos
Creator
Creator

I realize this post is 2 years old - stumbled across it while looking for a new solution. It appears createMD5 was removed in Talend v8. Does anyone know of a new solution that would work like this one did?

SamuelLenk
Contributor
Contributor

Apache Commons Codec library has DigestUtils that you can use.

jlolling_kloeckner
Contributor II
Contributor II

You can do this with the help of this custom component: https://github.com/jlolling/talendcomp_tHashRow and you can download it from the release section on the right side.