Tag: md5

Microsoft SQL Server

MS SQL: Create MD5 Hash string in Transact-SQL

The non-reversable hashing algorithm MD5 is supported in Microsoft SQL Server, but is not directly accessable though a simple transact-SQL function. Normally you would store the MD5 hash value as a hexadecimal string in your database. The HashBytes function returns a binary array of hash data. To convert the binary data to hex we need to use the function fn_varbintohexstr. To […]

Back To Top

Subscribe to our newsletter