Skip to main content
SymmetricAlgorithmNames.DesEcb | desEcb property

Retrieves a string that contains "DES_ECB".

Syntax


var desEcb = Windows.Security.Cryptography.Core.SymmetricAlgorithmNames.desEcb;

public static string DesEcb { get; }

Public Shared ReadOnly Property DesEcb As String

public:
static property String^ DesEcb { 
   String^ get();
}

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

String that contains "DES_ECB".

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 Data Encryption Standard (DES) algorithm coupled with an electronic codebook (ECB) mode of operation.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.winmd

See also

SymmetricAlgorithmNames
SymmetricKeyAlgorithmProvider