System::Security::Cryptography::RSA::Encrypt method
RSA::Encrypt method
Encrypts input data using the specified padding mode.
virtual ByteArrayPtr System::Security::Cryptography::RSA::Encrypt(ByteArrayPtr data, SharedPtr<RSAEncryptionPadding> padding)
Parameter | Type | Description |
---|---|---|
data | ByteArrayPtr | Byte array to encrypt. |
padding | SharedPtr<RSAEncryptionPadding> | Padding mode. |
ReturnValue
Encrypted data in byte array format.
See Also
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSAEncryptionPadding
- Class RSA
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++