TripleDESCng.LegalKeySizes Property

Definition

Gets the key sizes, in bits, that are supported by the symmetric algorithm.

C#
public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get; }

Property Value

An array that contains the key sizes supported by the algorithm.

Remarks

For TripleDES, the legal key sizes are 128 and 192 bits.

Applies to

Product Versions
.NET Core 1.0, Core 1.1