Encrypt()
RSA::Encrypt(ByteArrayPtr, SharedPtr<RSAEncryptionPadding>) method
Encrypts input data using the specified padding mode.
virtual ByteArrayPtr System::Security::Cryptography::RSA::Encrypt(ByteArrayPtr data, SharedPtr<RSAEncryptionPadding> padding)
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 RSAEncryptionPadding
- Class RSA
- Namespace System::Security::Cryptography
- Library Aspose.Slides