SymmetricAlgorithm.KeyValue Field
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.
Represents the secret key for the symmetric algorithm.
protected: cli::array <System::Byte> ^ KeyValue;
protected byte[]? KeyValue;
protected byte[] KeyValue;
val mutable KeyValue : byte[]
Protected KeyValue As Byte()
Field Value
Byte[]
Remarks
The secret key is used both for encryption and for decryption. For a symmetric algorithm to be successful, the secret key must be known only to the sender and the receiver. The valid key sizes are specified by the particular symmetric algorithm implementation and are listed in the LegalKeySizes property.
This field is accessed through the Key property.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈