Hi All,
I am in the process of designing the table structure for storing encrypted data. Encryption will happen on the application side (ASP.NET). We are using AES-256 to encrypt the data.
Have the following queries:
1. Should I use Varbinary or Varchar for storing encrypted columns? Am I correct in my assumption that if I use varbinary then I can directly save my encrypted data in bytes into the column without need for converting to string?
2. On what basis do I decide the column sizes?
Thanks in advance...
Known is handfull, Unknown is worldfull
I am in the process of designing the table structure for storing encrypted data. Encryption will happen on the application side (ASP.NET). We are using AES-256 to encrypt the data.
Have the following queries:
1. Should I use Varbinary or Varchar for storing encrypted columns? Am I correct in my assumption that if I use varbinary then I can directly save my encrypted data in bytes into the column without need for converting to string?
2. On what basis do I decide the column sizes?
Thanks in advance...
Known is handfull, Unknown is worldfull