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.

适用于

另请参阅