## RSACryptoServiceProv::Encrypt(ByteArrayPtr, SharedPtr\) method Encrypts input data using the specified padding mode. ```cpp ByteArrayPtr System::Security::Cryptography::RS....../) * Library [Aspose.PDF for C++](../../...[System::Security::Cryptography](../../) * Library [Aspose.PDF for C++](../../...