Skip to content

Consider getting rid of RC4 / ARC4 #153

@cfcs

Description

@cfcs

I think it would make sense to get rid of the (A)RC4 implementation that is currently the only exposed Cipher_stream.S.

  1. 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_crypto submodule 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 the SPECK family, for instance.

  2. see @pqwy 's comment here about the implementation being "homework-grade" and RC4 being "considered harmful":
    ARC4 is homework-grade #4 (comment)

  3. The wikipedia article has a lot of references as to why RC4 shouldn't be used.

  4. Notably: IETF forbade it in TLS in RFC 7465

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions