Add RC4 encryption/decryption function

Originally committed as revision 10723 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger
2007-10-13 10:42:11 +00:00
parent 211dd1e81f
commit 80b1c5a858
3 changed files with 50 additions and 0 deletions

1
libavutil/rc4.h Normal file
View File

@ -0,0 +1 @@
void ff_rc4_enc(const uint8_t *key, int keylen, uint8_t *data, int datalen);