SymmetricAlgorithm.KeyValue 欄位

定義

表示對稱演算法的祕密金鑰。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.

適用於

另請參閱