Encrypt()
RSACryptoServiceProvider::Encrypt(const ByteArrayPtr&, bool) method
Encrypts message. Not implemented.
ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::Encrypt(const ByteArrayPtr &rgb, bool use_oaep)
Arguments
Parameter | Type | Description |
---|---|---|
rgb | const ByteArrayPtr& | Data to encrypt. |
use_oaep | bool | True to use OAEP padding, false to use PKCS#1 v1.5 padding. |
Return Value
Encrypted data array.
RSACryptoServiceProvider::Encrypt(ByteArrayPtr, SharedPtr<RSAEncryptionPadding>) method
Encrypts input data using the specified padding mode.
ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::Encrypt(ByteArrayPtr data, SharedPtr<RSAEncryptionPadding> padding) override
Arguments
Parameter | Type | Description |
---|---|---|
data | ByteArrayPtr | Byte array to encrypt. |
padding | SharedPtr<RSAEncryptionPadding> | Padding mode. |
Return Value
Encrypted data in byte array format.
See Also
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSACryptoServiceProvider
- Class RSAEncryptionPadding
- Namespace System::Security::Cryptography
- Library Aspose.Slides