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)
ParameterTypeDescription
dataByteArrayPtrByte array to encrypt.
paddingSharedPtr<RSAEncryptionPadding>Padding mode.

ReturnValue

Encrypted data in byte array format.

See Also