HASHBYTES (Transact-SQL)
SQL Server 2008
Returns the MD2, MD4, MD5, SHA, or SHA1 hash of its input.
Returns the MD2, MD4, MD5, SHA, or SHA1 hash of its input.
Identifies the hashing algorithm to be used to hash the input. This is a required argument with no default. The single quotation marks are required.
Specifies a variable containing the data to be hashed. @input is varchar, nvarchar, or varbinary.
Specifies a string to be hashed.
