## RSA::EncryptValue method


使用私钥加密值。

```cpp
virtual ByteArrayPtr System::Security::Cryptography::RSA::EncryptValue(ByteArrayPtr rgb)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| rgb | ByteArrayPtr | [Byte](../../../system/byte/) 用于加密的字节数组。 |

### ReturnValue

以字节数组格式的加密数据。

## 另见

* Typedef [ByteArrayPtr](../../../system/bytearrayptr/)
* Class [RSA](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Font for C++](../../../)
