Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // RC4 Klasse
- #include <string.h>
- #include <Windows.h>
- class RC4{
- private:
- BYTE *bpKey;
- DWORD dwKeyLen;
- BYTE *bpMessage;
- DWORD *dwMessageLen;
- BYTE *SBOX;
- void exchb(BYTE *, BYTE *);
- public:
- RC4(const BYTE *, DWORD);
- ~RC4();
- void initSBOX();
- void encrypt(BYTE *, DWORD);
- void changeKey(const BYTE *, DWORD);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement