<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HASHBYTE &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/hashbyte/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Fri, 07 Sep 2018 11:43:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>SQL Server: Encrypt Password using HASHBYTES function</title>
		<link>https://www.dbrnd.com/2018/10/sql-server-encrypt-password-using-hashbytes-function/</link>
					<comments>https://www.dbrnd.com/2018/10/sql-server-encrypt-password-using-hashbytes-function/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 01 Oct 2018 16:16:37 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[Column encryption]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[HASH Algorithm]]></category>
		<category><![CDATA[HASHBYTE]]></category>
		<category><![CDATA[password encryption]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Error]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tuning]]></category>
		<category><![CDATA[SQL Server Programming]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=7450</guid>

					<description><![CDATA[In this post, I am sharing the use of HASHBYTE() function in SQL Server. I am late for sharing this because HASHBYTE is not a new feature. Recently, one developer asked few questions on TDE for specific column encryption. I suggested him to use HASHBYTE() and got to know that I didn&#8217;t share anything about [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F10%2Fsql-server-encrypt-password-using-hashbytes-function%2F&amp;linkname=SQL%20Server%3A%20Encrypt%20Password%20using%20HASHBYTES%20function" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F10%2Fsql-server-encrypt-password-using-hashbytes-function%2F&amp;linkname=SQL%20Server%3A%20Encrypt%20Password%20using%20HASHBYTES%20function" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F10%2Fsql-server-encrypt-password-using-hashbytes-function%2F&amp;linkname=SQL%20Server%3A%20Encrypt%20Password%20using%20HASHBYTES%20function" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F10%2Fsql-server-encrypt-password-using-hashbytes-function%2F&amp;linkname=SQL%20Server%3A%20Encrypt%20Password%20using%20HASHBYTES%20function" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F10%2Fsql-server-encrypt-password-using-hashbytes-function%2F&amp;linkname=SQL%20Server%3A%20Encrypt%20Password%20using%20HASHBYTES%20function" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F10%2Fsql-server-encrypt-password-using-hashbytes-function%2F&amp;linkname=SQL%20Server%3A%20Encrypt%20Password%20using%20HASHBYTES%20function" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F10%2Fsql-server-encrypt-password-using-hashbytes-function%2F&#038;title=SQL%20Server%3A%20Encrypt%20Password%20using%20HASHBYTES%20function" data-a2a-url="https://www.dbrnd.com/2018/10/sql-server-encrypt-password-using-hashbytes-function/" data-a2a-title="SQL Server: Encrypt Password using HASHBYTES function"></a></p><p>In this post, I am sharing the use of HASHBYTE() function in SQL Server. I am late for sharing this because HASHBYTE is not a new feature.</p>
<p>Recently, one developer asked few questions on TDE for specific column encryption. I suggested him to use HASHBYTE() and got to know that I didn&#8217;t share anything about it.</p>
<p>The HASHBYTE() returns the MD2, MD4, MD5, SHA, SHA1, or SHA2 hash of its input in SQL Server. You can use this algorithm for encrypting important column like a password.</p>
<blockquote class="wp-embedded-content" data-secret="JRMlcIT3ED"><p><a href="https://www.dbrnd.com/2016/05/sql-server-transparent-data-encryption-tde-to-encrypt-a-database-data-log-backup-file/">SQL Server: Transparent Data Encryption (TDE) to Encrypt a Database</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2016/05/sql-server-transparent-data-encryption-tde-to-encrypt-a-database-data-log-backup-file/embed/#?secret=JRMlcIT3ED" data-secret="JRMlcIT3ED" width="600" height="338" title="&#8220;SQL Server: Transparent Data Encryption (TDE) to Encrypt a Database&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p><strong>Examples:</strong></p><pre class="crayon-plain-tag">SELECT HASHBYTES('MD2', 'dbrnd.com') AS MD2
SELECT HASHBYTES('MD4', 'dbrnd.com') AS MD4
SELECT HASHBYTES('MD5', 'dbrnd.com') AS MD5
SELECT HASHBYTES('SHA1', 'dbrnd.com') AS SHA1
SELECT HASHBYTES('SHA2_256', 'dbrnd.com') AS SHA2_256
SELECT HASHBYTES('SHA2_512', 'dbrnd.com') AS SHA2_512</pre><p>
<img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-7452" src="https://www.dbrnd.com/wp-content/uploads/2018/04/SQL-Server-HASHBYTE.png" alt="SQL Server HASHBYTE" width="1087" height="538" srcset="https://www.dbrnd.com/wp-content/uploads/2018/04/SQL-Server-HASHBYTE.png 1087w, https://www.dbrnd.com/wp-content/uploads/2018/04/SQL-Server-HASHBYTE-1030x510.png 1030w, https://www.dbrnd.com/wp-content/uploads/2018/04/SQL-Server-HASHBYTE-850x421.png 850w, https://www.dbrnd.com/wp-content/uploads/2018/04/SQL-Server-HASHBYTE-679x336.png 679w" sizes="(max-width: 1087px) 100vw, 1087px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2018/10/sql-server-encrypt-password-using-hashbytes-function/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
