0 - 4 of 4 tags for hash

Hi all,
I just released SHA-2 UDFs (SHA-256/512) to GitHub.
https://github.com/akuroda/teradata-udf-sha2
 
Enjoy!
-- Akira Kuroda

Hi,

      I have a general question, For the Same Value but with different data type, How the Hash value will be generated? Same or Different?

 

For EG:

INTEGER PI value 123 and VARCHAR PI Value 123, For both of this same Hash value will be generated or different Hash Value will be generated?

This UDF implements the Secure Hash Algorithm, SHA-1, for computing a condensed representation of a message. When a message of any length < 264 bits is input, the SHA-1 produces a 160-bit output called a message digest (FIPS 180-1 / RFC 3174). This distribution contains full source code, a test suite, scripts, and documentation.

This UDF implements the MD5 message-digest algorithm. The algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input (RFC1321). This distribution contains full source code, a test suite, scripts, and documentation.