nn::crypto::RsaContext::Encrypt Member Functionnn::Result Encrypt( size_t * pEncryptLength, void * pDest, size_t destSize, const void * pSrc, size_t srcLength = SIZE_STRING_LENGTH );
| Name | Description | |
|---|---|---|
out |
pEncryptLength |
The length of the encrypted data. |
| out | pDest |
The address of the buffer storing encrypted data. |
| in | destSize |
The size of the buffer storing encrypted data (in bytes). |
| in | pSrc |
The address of the buffer storing data to be encrypted. |
| in | srcLength |
The length of data to be encrypted. (This parameter may be omitted. If omitted, the length is measured inside the function.) |
Encrypts using RSA.
CONFIDENTIAL