mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
13 lines
280 B
C
13 lines
280 B
C
|
|
#pragma once
|
|
|
|
typedef struct _RC4_CONTEXT
|
|
{
|
|
unsigned char state[256];
|
|
unsigned char x, y;
|
|
} RC4_CONTEXT;
|
|
|
|
void rc4_init(RC4_CONTEXT *a4i, const unsigned char *key, unsigned int keyLen);
|
|
|
|
void rc4_crypt(RC4_CONTEXT *a4i, unsigned char *inoutString, unsigned int length);
|
|
|