Random Project

Some bugs for Ruby 2.4x

If you are going to use those scripts and your Ruby version is 2.4x, make sure do some modifications on the script:

1. Change “cipher = OpenSSL::Cipher::Cipher.new(‘bf-cbc’)” into ”cipher = OpenSSL::Cipher.new(‘bf-cbc’)”

2. Change “cipher = OpenSSL::Cipher::Cipher.new(‘bf-cbc’)” into “cipher = OpenSSL::Cipher::Cipher.new(‘aes-256-bc’)”.