Generate MD5 hash string with T-SQL - Hashbytes 06 March 2015 Don-Rickman SQL Server, SQL Server - T-SQL (0) select lower(CONVERT(VARCHAR(32), HashBytes('MD5', 'email@address.com'), 2))