Generate MD5 hash string with T-SQL December 19, 2022 by Tarik CONVERT(VARCHAR(32), HashBytes('MD5', 'email@dot.com'), 2)