Generate a CMK
Perform the following steps to generate a Column Master Key (CMK):Open your database, and go to Security> Always Encrypted Keys> Column Master Key. Right-click and select New Column Master Key.
In the New Column Master Key window, enter a name and select Key Storage Provider (CNG) in the Key Store drop-down list.
Generate a CEK
Perform the following steps to generate a Column Encryption Key (CEK):Under the same database, go to Security> Always Encrypted Keys > Column Encryption Key. Right-click and select New Column Encryption Key.
Enter a name for the key. Then, select the CEK you generated in the previous section in the drop-down list.
Encrypt columns
Perform the following steps to encrypt columns with FXCNG:Under the database, expand Tables. Right-click on the table you want to encrypt and select Encrypt Columns.
In the Column Selection page, select the columns you want to encrypt, select the Encryption Type, and set the Encryption Key to the CEK you generated in the previous subsection. Then, select [ Next ].
In the Summary page, select [ Finish ].
When the encryption is complete, a green checkmark displays next to Performing Encryption Operations. You can view additional information by selecting Always Encrypted Wizard Log Report.
View the encrypted columns
To view the clear data for encrypted columns, perform the following steps to enable encryption in the Server Management Studio launcher.When you run your first query, a dialog box appears, prompting you to enable Parameterization. Select either [ Enable ] or [ Close ]. You can modify this setting later under Query> Query Options > Advanced.

