X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a..2c70dfbf7facca44ff6074d865f429a6ae0ace5e:/symm/rc4.h diff --git a/symm/rc4.h b/symm/rc4.h index caeeadbd..1e34c508 100644 --- a/symm/rc4.h +++ b/symm/rc4.h @@ -31,6 +31,9 @@ * trade secret of RSA Data Security, Inc., but somehow source code for a * cipher which interworks with RC4 was posted to the Cypherpunks mailing * list. + * + * RC4 has some quite bad biases, and its use for cryptographic purposes is + * no longer recommended. */ #ifndef CATACOMB_RC4_H @@ -180,8 +183,8 @@ extern const gccipher rc4; * * Returns: Pointer to generic random number generator interface. * - * Use: Creates a random number interface wrapper around an - * OFB-mode block cipher. + * Use: Creates a random number interface wrapper around the RC4 + * stream cipher. */ extern grand *rc4_rand(const void */*k*/, size_t /*sz*/);