This is newly feature comes after SQL Server 2016 version. By using Encrypt Columns we can convert columns into Coded format. the coded columns are the combinations of alphanumeric values. Converting Columns into Encrypt format, its hard to understand columns records. let’s see the steps to convert columns into Encrypt format—
1. select the Database, Right click on ” Tasks ” next select ” Encrypt Columns ” .
2. Introduction of Encrypt Columns : Always Encrypted is designed to protect sensitive information – such as credit card numbers – stored in SQL Server databases. It enables clients to encrypt data inside client applications and never reveal the encryption keys to SQL Server.
3. Column Selection : we have 3 columns ID , NAME , LOC. we can select Encryption Type Deterministic or Randomized.
4 . To genrate a new column encryption key , a column master key must be selected. we can select ” Windows certificate store ” or ” Azure key Vault ” . if you select “Azure Key Vault ” , you must have Microsoft account for azure.
5. Run setting : if encryption / decryption in progress dont do write operations. it might loss data. select radio button ” Proceed to finish now “.
6 . Summary : here you can check ” Source database settings ” , “master key”, “encryption key ” , ” column ID ” , column NAME , columns Loc.
Happy Query. Thanks .