6 #ifndef _INC_cCipherRC4_H
7 #define _INC_cCipherRC4_H
32 cCipherRC4(
bool bEncodeMode,
const void* pKeyData,
size_t nKeySize);
36 virtual HRESULT SetCipherKey(
const void* pKeyData =
nullptr,
size_t nKeySize = 0)
override;
39 virtual HRESULT Cipher(BYTE* pOutput,
const BYTE* pInput,
size_t nSizeBytes)
override;
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cCipherTypeDef.h:67
Definition: cCipherRC4.h:45
cCipherAlgRC4()
Definition: cCipherRC4.h:49
virtual cCipherBase * AllocCipherAlg(bool bEncodeMode) const
Definition: cCipherRC4.h:52
Definition: cCipherBase.h:125
Definition: cCipherRC4.h:18
int m_x
x permutation index
Definition: cCipherRC4.h:26
int m_y
y permutation index
Definition: cCipherRC4.h:27
UNITTEST_FRIEND(cCipherRC4)
@ CipherAlgorithm_RC4
Definition: cCipherBase.h:31