Teradata cryptographic UDFs. Currently BLAKE2 is being used as the underlying cryptographic function.
CREATE FUNCTION privilege on database or the user that'll own the UDFs.
You'll also need
ALTER FUNCTION privilege if you want to alter the UDFs execution mode from protected to not protected.
- Switch to the repo directory.
- Set appropriate default database if UDFs need to be owned by a specific User or Database.
- If UDFs will be run in
PROTECTEDexecution mode, edit
CryptoHash.sqlfile and comment out the
Note: The UDF parameter must be be either
SELECT InfoKey, InfoData, CryptoHash(InfoData) AS HashedData FROM DBC.DBCInfoV