TripleDES.Key Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the secret key for the TripleDES algorithm.
public:
virtual property cli::array <System::Byte> ^ Key { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public override byte[] Key { get; set; }
member this.Key : byte[] with get, set
Public Overrides Property Key As Byte()
Property Value
Byte[]
The secret key for the TripleDES algorithm.
Exceptions
An attempt was made to set the key to null
.
An attempt was made to set a key whose length is invalid.
-or-
An attempt was made to set a weak key (see IsWeakKey(Byte[])).
Remarks
This algorithm supports key lengths from 128 bits to 192 bits in increments of 64 bits.
Applies to
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.