Classic T-SQL-MD5 algorithm implementation