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 `File.rc4_encrypt` and `File.rc4_decrypt` methods #532

Closed postmodern closed 2 months ago

postmodern commented 2 months ago

Add File.rc4_encrypt and File.rc4_decrypt methods similar to File.aes_encrypt/File.aes_decrypt but using Ronin::Support::Crypto.rc4_cipher.

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.