SymmetricAlgorithmNames.TripleDesCbc Property

Definition

Retrieves a string that contains "3DES_CBC".

public:
 static property Platform::String ^ TripleDesCbc { Platform::String ^ get(); };
static winrt::hstring TripleDesCbc();
public static string TripleDesCbc { get; }
var string = SymmetricAlgorithmNames.tripleDesCbc;
Public Shared ReadOnly Property TripleDesCbc As String

Property Value

String

Platform::String

winrt::hstring

String that contains "3DES_CBC".

Remarks

Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm method on a SymmetricKeyAlgorithmProvider object. The string represents the Triple Data Encryption Standard (TripleDES) algorithm coupled with a cipher-block chaining mode of operation. This implementation of TripleDES is a three-key implementation, which requires a key size of 24 bytes. Passing a key size less than 24 bytes to this algorithm's CreateSymmetricKey method produces a "Value does not fall within the expected range" exception.

Applies to

See also