Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API
Calculates the MD5 hash of data, returning the result in hexadecimal.
Syntax
md5(<data>)
Arguments
Required
<data>: The text or bytea data to hash.
Returns
Returns a text value that contains the hexadecimal MD5 hash.
Considerations
- MD5 is not cryptographically secure for security-critical applications.
- Use for checksums and data integrity, not for password hashing.
Examples
Calculate MD5 Hash
Get the MD5 hash of a string.
SELECT md5('abc') AS result;
Returns '900150983cd24fb0d6963f7d28e17f72'.