Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 46 of file crypt_arc4.c.
Referenced by SystemFunction032().
{ BYTE *const s=a4i->state; unsigned int x = a4i->x; unsigned int y = a4i->y; unsigned int a, b; while(length--) { x = (x+1) & 0xff; a = s[x]; y = (y+a) & 0xff; b = s[y]; s[x] = b; s[y] = a; *inoutString++ ^= s[(a+b) & 0xff]; } a4i->x = x; a4i->y = y; }