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 10 forks source link

Add a `Ronin::Support::Crypto::Cipher::DES` class #525

Closed postmodern closed 3 months ago

postmodern commented 3 months ago

Add a Ronin::Support::Crypto::Cipher::DES class similar to Ronin::Support::Crypto::Cipher::AES, but uses the des cipher.

postmodern commented 3 months ago

Appears that openssl 3.x finally removed the des and des-cbc ciphers.

postmodern commented 3 months ago

It's going to be difficult to re-enable des in openssl 3.x. https://docs.openssl.org/3.0/man7/migration_guide/#legacy-algorithms

We might be able to add a pure-Ruby implementation of DES with all of the OpenSSL::Cipher methods. Tabling this until it's really needed.