diff --git a/lib/encrypted_strings/symmetric_cipher.rb b/lib/encrypted_strings/symmetric_cipher.rb index 154e1f9..bb965c2 100644 --- a/lib/encrypted_strings/symmetric_cipher.rb +++ b/lib/encrypted_strings/symmetric_cipher.rb @@ -93,7 +93,7 @@ def encrypt(data) private def build_cipher(type) #:nodoc: - cipher = OpenSSL::Cipher::Cipher.new(algorithm).send(type) + cipher = OpenSSL::Cipher.new(algorithm).send(type) cipher.pkcs5_keyivgen(password) cipher end