lib/ach_client/logging/logging.rb in ach_client-0.6.3 vs lib/ach_client/logging/logging.rb in ach_client-0.6.4
- old
+ new
@@ -54,10 +54,10 @@
# @return [ActiveSupport::MessageEncryptor] the encryptor
def self.codec
ActiveSupport::MessageEncryptor.new(
ActiveSupport::KeyGenerator.new(
AchClient::Logging.encryption_password
- ).generate_key(AchClient::Logging.encryption_salt)
+ ).generate_key(AchClient::Logging.encryption_salt, 32)
)
end
# Returns whether the client has enabled encryption - if both a username and
# salt have been provided