SymmetricAlgorithm.KeyValue SymmetricAlgorithm.KeyValue SymmetricAlgorithm.KeyValue SymmetricAlgorithm.KeyValue Field

定义

表示对称算法的密钥。Represents the secret key for the symmetric algorithm.

protected: cli::array <System::Byte> ^ KeyValue;
protected byte[] KeyValue;
val mutable KeyValue : byte[]
Protected KeyValue As Byte() 

字段值

Byte[]

注解

密钥用于加密和解密。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. 有效密钥大小由特定的对称算法实现指定,并在LegalKeySizes属性中列出。The valid key sizes are specified by the particular symmetric algorithm implementation and are listed in the LegalKeySizes property.

此字段通过Key属性进行访问。This field is accessed through the Key property.

适用于

另请参阅