| QuickCrypt Library | API |
|
SL_CTR_Seek
void SL_CRYPTCALL SL_CTR_Seek( void* pContext, unsigned int nPos );
Parameters
pContext
[in] Pointer to the context.
nPos
[in] Position from the beginning of encrypted/decrypted sequence of bytes. The position is specified in bytes.
Remarks
Call this function to encrypt/decrypt any subsequence of a decrypted/encrypted sequence of bytes. To encrypt/decrypt a subsequence call the SL_CTR_Seek function with a relative position of the first byte of the subsequence before calling the SL_CTR_Process method.
Examples
|
DES encryption/decryption of a part of memory buffer in Counter mode |
CTR Mode API Overview | CTR Mode Functions | Useful Links
See Also SL_CTR_Init, SL_CTR_Process
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickCrypt Library |