If you are searching for a quick and dirty way to encrypt data in SQL Server, the ENCRYPTBYPASSPHRASE function might be just what you are looking for.
Temporary symmetric keys are a great idea. However, SQL Server’s current implementation falls apart based on a requirement that makes them all but usable.
If you are not using two-factor authentication, your data is at risk. Read on to find out exactly why you should enable two-factor authentication now.
Temporary symmetric keys in SQL Server behave similar to temp tables. In particular, they are stored in tempdb and automatically go away at the end of the session. Make sure however that you do not get caught creating a non-recreatable temporary symmetric key…
SQL Server provides only one way to re-create a symmetric key multiple times. Read on to find out about the necessary extension to the CREATE SYMMETRIC KEY statement.