35 int wc_Arc4Process(Arc4* arc4, byte* out,
const byte* in, word32 length);
59 int wc_Arc4SetKey(Arc4* arc4,
const byte* key, word32 length);
int wc_Arc4Process(Arc4 *arc4, byte *out, const byte *in, word32 length)
This function encrypts an input message from the buffer in, placing the ciphertext in the output buff...
int wc_Arc4SetKey(Arc4 *arc4, const byte *key, word32 length)
This function sets the key for a ARC4 object, initializing it for use as a cipher. It should be called before using it for encryption with wc_Arc4Process.