lib/bp_obfuscate/obfuscate.rb in bp_obfuscate-0.1.0 vs lib/bp_obfuscate/obfuscate.rb in bp_obfuscate-0.1.1
- old
+ new
@@ -3,10 +3,10 @@
require "base64"
module Obfuscate
class << self
def cipher
- OpenSSL::Cipher::Cipher.new("aes-256-cbc")
+ OpenSSL::Cipher.new('AES-256-CBC')
end
def cipher_key
if defined?(Rails)
Rails.application.secrets.secret_key_base