ronin-rb / ronin-support

A support library for Ronin. Like activesupport, but for hacking!
https://ronin-rb.dev
GNU Lesser General Public License v3.0
27 stars 9 forks source link

Add `Ronin::Support::Crypto.rc4_cipher`, `.rc4_encrypt`, and `.rc4_decrypt` methods #530

Closed postmodern closed 2 months ago

postmodern commented 2 months ago

Add Ronin::Support::Crypto.rc4_cipher, .rc4_encrypt, and .rc4_decrypt methods similar to .aes_* methods but using Ronin::Support::Crypto::Cipher::RC4.

postmodern commented 2 months ago

openssl 3.x deprecated RC4. We will have to implement our own pure-Ruby version of the RC4 block cipher.