UDF Implementation for SHA256 hashing algorithm

Is there anyway where we can implement the SHA256 hashing algorithm in a UDF ,which in-turn the udf can be used inside a gsql query(preferrable for Syntax V2 query).

The cryptopp library can be seen in the third party folder, but importing it doesn’t compile the udf code.

You can implement anything in UDF. You’re not limited to use the libraries installed with TG. Any libraries on your system can be used. Just make sure you update MakeUdf file to link with the libraries you’re using.

1 Like

@jimwuThanks for sharing the knowledge!

@Jon_Herke,

You are very welcome! You guys have been awesome answering my questions. Glad that I can contribute something back :).