SHA1 Hashing and Base-64 encryption of a column in datastage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
UCDI
Premium Member
Premium Member
Posts: 383
Joined: Mon Mar 21, 2016 2:00 pm

Post by UCDI »

both of these algorithms are available in C/C++ online as free code, you can pretty easily compile it and call it from datastage. There are other ways, but since the code is already written and moments from being ready to use, we did it this way (and then someone decided that sha1 was too dated to use and we moved to something else... sigh).
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

From when we looked into it, SHA-1 was starting to be found too vulnerable around 2005 and people have "moved on" to SHA-2 and SHA-3. With my current client being a US Government agency, we were "forced" to migrate everything we had from SHA-1 to SHA-2 starting sometime last year.
-craig

"You can never have too many knives" -- Logan Nine Fingers
UCDI
Premium Member
Premium Member
Posts: 383
Joined: Mon Mar 21, 2016 2:00 pm

Post by UCDI »

Yes. Sha-1 is still quite good for just hashing a string to a number for various non-secure purposes, but its dead for security.
Post Reply