Created
February 24, 2020 20:21
-
-
Save LitKnd/ec127d4c7304998d94872e4b20510391 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE QuickTest | |
GO | |
USE QuickTest; | |
GO | |
CREATE CERTIFICATE SelfSignedCertificate | |
ENCRYPTION BY PASSWORD = 'helloiamapassword123' | |
WITH SUBJECT = 'Self Signed Cert Test', | |
EXPIRY_DATE = '20900101'; | |
GO | |
CREATE SYMMETRIC KEY SymmetricKeyHiHi | |
WITH ALGORITHM = AES_256 | |
ENCRYPTION BY CERTIFICATE SelfSignedCertificate; | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment