Skip to content

Commit 790091d

Browse files
authored
Merge pull request #10898 from MightyPen/june21d
Fixing Issue 2422, complex markdown simplified to fix formatting.
2 parents 5b4ac63 + c635df5 commit 790091d

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎docs/t-sql/functions/hashbytes-transact-sql.md‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ manager: craigg
2222
monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current"
2323
---
2424
# HASHBYTES (Transact-SQL)
25+
2526
[!INCLUDE[tsql-appliesto-ss2008-all-md](../../includes/tsql-appliesto-ss2008-all-md.md)]
2627

2728
Returns the MD2, MD4, MD5, SHA, SHA1, or SHA2 hash of its input in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
@@ -37,14 +38,15 @@ HASHBYTES ( '<algorithm>', { @input | 'input' } )
3738
```
3839

3940
## Arguments
40-
**'**\<algorithm>**'**
41-
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. Beginning with [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)], all algorithms other than SHA2_256, and SHA2_512 are deprecated.
41+
42+
`<algorithm>`
43+
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. Beginning with [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)], all algorithms other than SHA2_256, and SHA2_512 are deprecated.
4244

43-
**@input**
44-
Specifies a variable containing the data to be hashed. **@input** is **varchar**, **nvarchar**, or **varbinary**.
45+
`@input`
46+
Specifies a variable containing the data to be hashed. `@input` is **varchar**, **nvarchar**, or **varbinary**.
4547

46-
**'** *input* **'**
47-
Specifies an expression that evaluates to a character or binary string to be hashed.
48+
'*input*'
49+
Specifies an expression that evaluates to a character or binary string to be hashed.
4850

4951
The output conforms to the algorithm standard: 128 bits (16 bytes) for MD2, MD4, and MD5; 160 bits (20 bytes) for SHA and SHA1; 256 bits (32 bytes) for SHA2_256, and 512 bits (64 bytes) for SHA2_512.
5052

0 commit comments

Comments
 (0)