As part of a project I need to retrieve personal user information from a Teradata table. To preserve user privacy we need to have access only on the sha256 hash of the values.
Would it be possible in Teradata to hash the value directly in the query?
I tried:
SELECT sha256(login_email) as sha_login_email
FROM tablex;
but the function sha256(binary) doesn't work with Strings.
I get an error: The string contains an untranslatable character. whichever string is processed by the query.