QuickCrypt Library C++ Interface

CCounterMode::Seek

void Seek( unsigned int nPos );

Parameters

 nPos

    [in] Position from the beginning of encrypted/decrypted sequence of bytes. The position is specified in bytes.

Remarks

Call this member function to encrypt/decrypt any subsequence of a decrypted/encrypted sequence of bytes. To encrypt/decrypt a subsequence call the Seek method with a relative position of the first byte of the subsequence before calling the Process method.

Examples

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

 

CCounterMode Overview   |   Class Members   |   Useful Links

 

See Also    CCounterMode::Init, CCounterMode::Process


 

 

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