<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Introduction to SQL Server Encryption and Symmetric Key Encryption Tutorial</title>
	<atom:link href="http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Wed, 22 May 2013 19:03:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: N.Raja</title>
		<link>http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-50632</link>
		<dc:creator><![CDATA[N.Raja]]></dc:creator>
		<pubDate>Tue, 07 Apr 2009 16:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-50632</guid>
		<description><![CDATA[Any clue on how the Keys are securely stored in SQL Server, ie. what encryption algorithm used to store the key itself in SQL Server so that no one can grab it and to ensure its fully secured???]]></description>
		<content:encoded><![CDATA[<p>Any clue on how the Keys are securely stored in SQL Server, ie. what encryption algorithm used to store the key itself in SQL Server so that no one can grab it and to ensure its fully secured???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicky</title>
		<link>http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-44613</link>
		<dc:creator><![CDATA[Vicky]]></dc:creator>
		<pubDate>Mon, 08 Dec 2008 11:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-44613</guid>
		<description><![CDATA[Hi,
  we have been waiting....
OK please see the code below,

declare @a varbinary(100)
declare @b varbinary(100)
declare @f float
set @f=123.456
set @a=EncryptByPassPhrase(&#039;vival&#039;, cast(@f as varbinary)) 
set @b=DecryptByPassPhrase(&#039;vival&#039;, @a)
select @b
select cast(cast(@b as decimal(10,4)) as float) 


getting error at last line,
Arithmetic overflow error converting varbinary to data type numeric.

plz tell what&#039;s d mess?]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
  we have been waiting&#8230;.<br />
OK please see the code below,</p>
<p>declare @a varbinary(100)<br />
declare @b varbinary(100)<br />
declare @f float<br />
set @f=123.456<br />
set @a=EncryptByPassPhrase(&#8216;vival&#8217;, cast(@f as varbinary))<br />
set @b=DecryptByPassPhrase(&#8216;vival&#8217;, @a)<br />
select @b<br />
select cast(cast(@b as decimal(10,4)) as float) </p>
<p>getting error at last line,<br />
Arithmetic overflow error converting varbinary to data type numeric.</p>
<p>plz tell what&#8217;s d mess?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicky</title>
		<link>http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-42054</link>
		<dc:creator><![CDATA[Vicky]]></dc:creator>
		<pubDate>Tue, 26 Aug 2008 12:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-42054</guid>
		<description><![CDATA[Thanks Pinal. We are waiting........]]></description>
		<content:encoded><![CDATA[<p>Thanks Pinal. We are waiting&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-42049</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Tue, 26 Aug 2008 09:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-42049</guid>
		<description><![CDATA[Hello Imran and Vicky,

Answer to first question:
Certificates will have to be transferred to different server physically first and setup with SQL Server before using its name to decrypt the data.

Answer to second question:
Yes there is way to insert the data with encryption on. 

I will soon write separate article explaining both of the above methods.

Regards,
Pinal Dave ( http://www.SQLAuthority.com )]]></description>
		<content:encoded><![CDATA[<p>Hello Imran and Vicky,</p>
<p>Answer to first question:<br />
Certificates will have to be transferred to different server physically first and setup with SQL Server before using its name to decrypt the data.</p>
<p>Answer to second question:<br />
Yes there is way to insert the data with encryption on. </p>
<p>I will soon write separate article explaining both of the above methods.</p>
<p>Regards,<br />
Pinal Dave ( <a href="http://www.SQLAuthority.com" rel="nofollow">http://www.SQLAuthority.com</a> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicky</title>
		<link>http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-42044</link>
		<dc:creator><![CDATA[Vicky]]></dc:creator>
		<pubDate>Tue, 26 Aug 2008 07:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-42044</guid>
		<description><![CDATA[Yes, the article is so informative. But I also have same questions in my mind as Imran. So please answer it.]]></description>
		<content:encoded><![CDATA[<p>Yes, the article is so informative. But I also have same questions in my mind as Imran. So please answer it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran</title>
		<link>http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-38128</link>
		<dc:creator><![CDATA[Imran]]></dc:creator>
		<pubDate>Thu, 15 May 2008 16:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2008/02/29/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial/#comment-38128</guid>
		<description><![CDATA[One of the best article written on encryption using symmetric keys, comming from no other than a genuis ( DAVE) again.

The most interesting fact about your articles is they are written in very simple language which can be undertsood easily by a person which dont have much knowledge about SQL.

Thanks for the article

I have few questions regarding your article :

1. In your example we encrypted symmetric key using a certificate and then we encrypted the column in the table using that symmetric key and when decrypting the data we are just giving the name of the symmetric key and then name of the certificate, no where we mentioned the password, for some one to decrypt the data all he needs to know is name of the symmetric key and name of the certificate used to encrypt data and then he is good to go. 

Please explain if I misunderstood.

2. we first inserted the data and then encrypted it and after encryption we are deleting that column, because it doesn&#039;t make sense to keep that column. what if we want to insert more data in that column aftre it is encrypted, do we have to  decrypt the existing column and then insert the data and the again encrypt it ? 

or is there any way that we can insert the data into the encrypted column with out decrypting and inserting and encrypting it again.

Please clarify.

one request: please give a similar example for Assymetric key.

Thanks.]]></description>
		<content:encoded><![CDATA[<p>One of the best article written on encryption using symmetric keys, comming from no other than a genuis ( DAVE) again.</p>
<p>The most interesting fact about your articles is they are written in very simple language which can be undertsood easily by a person which dont have much knowledge about SQL.</p>
<p>Thanks for the article</p>
<p>I have few questions regarding your article :</p>
<p>1. In your example we encrypted symmetric key using a certificate and then we encrypted the column in the table using that symmetric key and when decrypting the data we are just giving the name of the symmetric key and then name of the certificate, no where we mentioned the password, for some one to decrypt the data all he needs to know is name of the symmetric key and name of the certificate used to encrypt data and then he is good to go. </p>
<p>Please explain if I misunderstood.</p>
<p>2. we first inserted the data and then encrypted it and after encryption we are deleting that column, because it doesn&#8217;t make sense to keep that column. what if we want to insert more data in that column aftre it is encrypted, do we have to  decrypt the existing column and then insert the data and the again encrypt it ? </p>
<p>or is there any way that we can insert the data into the encrypted column with out decrypting and inserting and encrypting it again.</p>
<p>Please clarify.</p>
<p>one request: please give a similar example for Assymetric key.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
