reactos/lib/cryptlib/rc4.h
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

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);