hi , does anyone know how to salt a sha256 hash in CDP?
i see that if i use the sha256 function sha256(string) in the flow mapping it works, but when i add a salt to the function sha256(string,string) it returns as blank.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @MarcSt4 ,
If salting is a function like hashing, then the function has to be available in CDP Data Prep, right?
If it is not available, I don't think there is an option existing in CDP to salt the hash values.
Thank You, Pratheep Arun Raj B (Arun) | NextRow Digital | Terryn Winter Analytics
Hello @MarcSt4 ,
If salting is a function like hashing, then the function has to be available in CDP Data Prep, right?
If it is not available, I don't think there is an option existing in CDP to salt the hash values.
Thank You, Pratheep Arun Raj B (Arun) | NextRow Digital | Terryn Winter Analytics
Hi, I agree with you, I dont think data prep can use a salt for hashing. we ended up salting in apis we wrote to feed the data into CDP, so handled it in code. Its a pity, would be great to be able to provide a series of salt keys and use them for encryption. In our example we needed a hashed value we could use as part of a url (public) which was then de-hashed to expose the values for use in the target system
Views
Likes
Replies
Views
Likes
Replies