Share via


SqlSymmetricKeyAlgorithm Enumeration

Defines the algorithms that are used for symmetric keys.

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Enumeration SqlSymmetricKeyAlgorithm
public enum SqlSymmetricKeyAlgorithm
public enum class SqlSymmetricKeyAlgorithm
type SqlSymmetricKeyAlgorithm
public enum SqlSymmetricKeyAlgorithm

Members

Member name Description
Unknown Specifies that the algorithm is unknown.
Des Specifies the use of the Data Encryption Standard (DES) cipher.
TripleDes Specifies the use of the TRIPLE DES cipher with a 192-bit key.
RC2 Specifies the use of the RC2 algorithm.
RC4 Specifies the use of the RC4 algorithm.
DesX Specifies the use of the DESX algorithm.

Symmetric keys created by using ALGORITHM = DESX actually use the TRIPLE DES cipher with a 192-bit key. The DESX algorithm is not provided. This feature will be removed in a future version of Microsoft SQL Server 2005. Avoid the use of this feature in new development work, and plan to modify applications that currently use this feature.

Aes128 Specifies the use of the 128-bit Advanced Encryption Standard (AES) algorithm.
Aes192 Specifies the use of the 192-bit AES algorithm.
Aes256 Specifies the use of the 256-bit AES algorithm.
RC4128 Specifies the use of the 128-bit RC4 algorithm.

See Also

Reference

Microsoft.Data.Schema.Sql.SchemaModel Namespace