Encrypt

nn::crypto::Aes::Encrypt Member Function

Syntax

virtual void Encrypt(
     void * pDst,
     const void * pSrc
) const;

Parameters

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.

Return Values

None.

Description

Encrypts using the AES algorithm.

See the BlockCipher::Encrypt function for details.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL