nn::crypto::BlockCipher::Encrypt Member Function
virtual void Encrypt(
void * pDst,
const void * pSrc
) const = 0;
| Name | Description | |
|---|---|---|
| out | pDst | Pointer to the buffer that receives encrypted data. This buffer must be at least as big as the size obtained by calling the GetBlockSize function. |
| in | pSrc | Pointer to the buffer storing data to encrypt. This buffer must be the size obtained by calling the GetBlockSize function. |
Encrypts.
Encryption takes a block-sized portion of plaintext and converts it to ciphertext. This loads a block-sized amount of data from pSrc, encrypts it, and writes the result to pDst.
CONFIDENTIAL