RSACng.EncryptValue(Byte[]) 方法

定義

使用公開金鑰,來加密輸入資料。Encrypts the input data using the public key.

public:
 override cli::array <System::Byte> ^ EncryptValue(cli::array <System::Byte> ^ rgb);
public override byte[] EncryptValue (byte[] rgb);
override this.EncryptValue : byte[] -> byte[]
Public Overrides Function EncryptValue (rgb As Byte()) As Byte()

參數

rgb
Byte[]

要加密的純文字。The plain text to be encrypted.

傳回

Byte[]

所產生之密碼文字的 rgb 參數加密。The resulting encryption of the rgb parameter as cipher text.

例外狀況

不支援這個方法呼叫。This method call is not supported.

適用於