-
Notifications
You must be signed in to change notification settings - Fork 55
Description
I think it would make sense to get rid of the (A)RC4 implementation that is currently the only exposed Cipher_stream.S.
-
If we don't want to remove it, perhaps we should add a deprecation warning to at least make it visible to people that their software is using broken crypto, or move it to a
Broken_cryptosubmodule or similar. It would also make sense to not have the only stream-cipher exposed be a broken one, ie there should be a usable alternative if we want to carry this API at all.Chacha20,Salsa20, or some of theSPECKfamily, for instance. -
see @pqwy 's comment here about the implementation being "homework-grade" and RC4 being "considered harmful":
ARC4 is homework-grade #4 (comment) -
The wikipedia article has a lot of references as to why RC4 shouldn't be used.
-
Notably: IETF forbade it in TLS in RFC 7465