QuickCrypt Library C++ Interface

CCounterMode::Process

void Process( unsigned char* pDest, const unsigned char* pSrc, unsigned int nSize );

Parameters

pDest

    [out] Pointer to the memory buffer that will receive the result of encryption/decryption. 

 pSrc

    [in] Pointer to the memory buffer that has to be encrypted/decrypted.

 nSize

    [in] Size in bytes of the memory buffer pointed by pSrc.

Remarks

Call this member function to encrypt/decrypt the memory buffer pointed by pSrc. The result is retrieved in the memory buffer pointed by pDest.

To perform an in-place encryption/decryption, make pDest equal to pSrc.

Examples

DES encryption/decryption of a file in Counter mode

DES encryption/decryption of a part of memory buffer in Counter mode

 

CCounterMode Overview   |   Class Members   |   Useful Links

 

See Also    CCounterMode::Init, CCounterMode::Seek


 

 

Send Feedback to SlavaSoft Inc. Tell a friend about QuickCrypt Library