Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# crypt Namespace Reference

## Classes
struct | rc4_state
## Functions
void | rc4_removeWarningAndDoNothingFunction ()
void | rc4_init (struct rc4_state *s, unsigned char *key, int length)
void | rc4_crypt (struct rc4_state *s, unsigned char *data, int length)
## Variables
const int | RC4_keylength = 5
const unsigned int | RC4_magicbyte = 0x29292929
const unsigned char | RC4_key [] = "MSH05"

## Function Documentation

void crypt::rc4_removeWarningAndDoNothingFunction | ( |  | ) |

| Definition at line 5 of file RC4.cpp.

void crypt::rc4_init | ( | struct rc4_state * | s,
|  | unsigned char * | key,
|  | int | length
| ) |

| Definition at line 12 of file RC4.cpp. References crypt::rc4_state::m, crypt::rc4_state::x, and crypt::rc4_state::y.

void crypt::rc4_crypt | ( | struct rc4_state * | s,
|  | unsigned char * | data,
|  | int | length
| ) |

| Definition at line 35 of file RC4.cpp. References crypt::rc4_state::m, crypt::rc4_state::x, and crypt::rc4_state::y.

## Variable Documentation

const int crypt::RC4_keylength = 5`[static]`

| Definition at line 5 of file RC4.h.

const unsigned int crypt::RC4_magicbyte = 0x29292929`[static]`

| Definition at line 6 of file RC4.h.

const unsigned char crypt::RC4_key[] = "MSH05"`[static]`

| Definition at line 7 of file RC4.h.