Is there an equivalent to SHA1() in MS-SQL?
mysql, sha1, sql, sql-server, t-sql
Solution
SQL Server 2005 and later has the HashBytes() function.
Problem
Converting a couple stored procedures from MySQL to Microsoft SQL server. Everything is going well, except one procedure used the MySQL `SHA1()` function. I cannot seem to find an equivalent to this in MS-SQL. Does anyone know a valid equivalent for `SHA1()` on MS-SQL?