From 1e25ff9f5489b0c934c395f466f605d5a14a0ca2 Mon Sep 17 00:00:00 2001 From: Joshua Priddle Date: Mon, 19 Jun 2017 01:43:41 -0400 Subject: [PATCH] fixup --- lib/crypt_keeper/provider/active_support.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crypt_keeper/provider/active_support.rb b/lib/crypt_keeper/provider/active_support.rb index 6b90bea..ee0e4d6 100644 --- a/lib/crypt_keeper/provider/active_support.rb +++ b/lib/crypt_keeper/provider/active_support.rb @@ -15,7 +15,7 @@ def initialize(options = {}) salt = options.fetch(:salt) @encryptor = ::ActiveSupport::MessageEncryptor.new \ - ::ActiveSupport::KeyGenerator.new(key).generate_key(salt) + ::ActiveSupport::KeyGenerator.new(key).generate_key(salt, 32) end # Public: Encrypts a string