SymmetricAlgorithm.KeyValue 字段

定义

表示对称算法的密钥。

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

字段值

Byte[]

注解

密钥用于加密和解密。 要成功使用对称算法,密钥必须只有发送方和接收方知道。 有效的密钥大小由特定的对称算法实现指定,并在 属性中 LegalKeySizes 列出。

可通过 Key 属性访问此字段。

适用于

另请参阅