February 2, 2015 at 2:54 pm
I'm having an issue in encrypting large documents. I know that previous editions ENCRYPTBYKEY had a maximum size of 8,000 byte limitation. Does SQL Server 2014 have any new features that overcomes this limitation?
Using
SQL Server 2014 Std
Symmetric key with AES_256
February 5, 2015 at 8:03 am
Please see this https://msdn.microsoft.com/en-us/library/ms174361.aspx .
The return type still has a max size of 8000 bytes.
February 5, 2015 at 8:28 am
You could implement your own SQLCLR function from the .NET namespace to handle larger values.
October 31, 2018 at 6:40 am
I wonder if there was any change since, please? In SQL 2016? I need to encrypt a response I receive from one of our credit company's interfaces in an XML format. I appreciate I can write something of our own SQLCLR,
but I would prefer to use EncryptByKey's Key_GUID our DBA's have in place.
November 13, 2018 at 12:37 pm
No changes I've seen yet. you can file feedback here, but I doubt they'll do this since anyone could write CLR using the .NET Namespaces.
https://feedback.azure.com/forums/34192--general-feedback
November 13, 2018 at 8:52 pm
BOR15K - Wednesday, October 31, 2018 6:40 AMI wonder if there was any change since, please? In SQL 2016? I need to encrypt a response I receive from one of our credit company's interfaces in an XML format. I appreciate I can write something of our own SQLCLR,
but I would prefer to use EncryptByKey's Key_GUID our DBA's have in place.
They make the sensitive data available to you in an unencrypted format?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2018 at 2:17 am
Jeff Moden - Tuesday, November 13, 2018 8:52 PMBOR15K - Wednesday, October 31, 2018 6:40 AMI wonder if there was any change since, please? In SQL 2016? I need to encrypt a response I receive from one of our credit company's interfaces in an XML format. I appreciate I can write something of our own SQLCLR,
but I would prefer to use EncryptByKey's Key_GUID our DBA's have in place.They make the sensitive data available to you in an unencrypted format?
Public key? Private key? Remember the basics? So once I receive an encrypted responce from a credit card company I obviously open it to ensure it has been processed. But it has nothing to do with the oiriginal question here, unless you wanted to show off your knowledge or mock me personally.
November 14, 2018 at 5:52 am
BOR15K - Wednesday, November 14, 2018 2:17 AMJeff Moden - Tuesday, November 13, 2018 8:52 PMBOR15K - Wednesday, October 31, 2018 6:40 AMI wonder if there was any change since, please? In SQL 2016? I need to encrypt a response I receive from one of our credit company's interfaces in an XML format. I appreciate I can write something of our own SQLCLR,
but I would prefer to use EncryptByKey's Key_GUID our DBA's have in place.They make the sensitive data available to you in an unencrypted format?
Public key? Private key? Remember the basics? So once I receive an encrypted responce from a credit card company I obviously open it to ensure it has been processed. But it has nothing to do with the oiriginal question here, unless you wanted to show off your knowledge or mock me personally.
Frequently, the original question leads to other questions that need to be answered... not for our benefit, but yours.
It's also incredibly obvious that you're trying to do the right thing by encrypting the data.
I'm not quite sure why you figure my question was a setup to mock you. You said that you need to encrypt the response you receive from one of your credit company's interfaces in an XML format. That sounds to me like you're receiving the data in a human readable, clear-text format to begin with. If I were going to mock you personally, I'd just come out and say you're an idiot that has no regard for PII but this isn't you if they are sending the data in an unencrypted format. Because of that, I was going to advise you that, if they're doing such a thing, they need to fix it because it does put YOU in harms way if there's a leak of data and I was just watching out for you an whomever you work for. Instead, I get a blast of arrogant rhetoric from you.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2018 at 6:09 am
Jeff Moden - Wednesday, November 14, 2018 5:52 AMBOR15K - Wednesday, November 14, 2018 2:17 AMJeff Moden - Tuesday, November 13, 2018 8:52 PMBOR15K - Wednesday, October 31, 2018 6:40 AMI wonder if there was any change since, please? In SQL 2016? I need to encrypt a response I receive from one of our credit company's interfaces in an XML format. I appreciate I can write something of our own SQLCLR,
but I would prefer to use EncryptByKey's Key_GUID our DBA's have in place.They make the sensitive data available to you in an unencrypted format?
Public key? Private key? Remember the basics? So once I receive an encrypted responce from a credit card company I obviously open it to ensure it has been processed. But it has nothing to do with the oiriginal question here, unless you wanted to show off your knowledge or mock me personally.
Frequently, the original question leads to other questions that need to be answered... not for our benefit, but yours.
It's also incredibly obvious that you're trying to do the right thing by encrypting the data.
I'm not quite sure why you figure my question was a setup to mock you. You said that you need to encrypt the response you receive from one of your credit company's interfaces in an XML format. That sounds to me like you're receiving the data in a human readable, clear-text format to begin with. If I were going to mock you personally, I'd just come out and say you're an idiot that has no regard for PII but this isn't you if they are sending the data in an unencrypted format. Because of that, I was going to advise you that, if they're doing such a thing, they need to fix it because it does put YOU in harms way if there's a leak of data and I was just watching out for you an whomever you work for. Instead, I get a blast of arrogant rhetoric from you.
I accept your point - my apologies.
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply