lib/diffcrypt/rails/encrypted_configuration.rb
def active_support_encryptor
        @active_support_encryptor ||= ActiveSupport::MessageEncryptor.new(
          [key].pack('H*'),
          cipher: 'aes-128-gcm',
        )
      end
# Rails applications with an existing credentials file, the inbuilt active support encryptor should be used
# @return [ActiveSupport::MessageEncryptor]
Rails applications with an existing credentials file, the inbuilt active support encryptor should be used
Rails applications with an existing credentials file the inbuilt active support encryptor should be used
def active_support_encryptor
        @active_support_encryptor ||= ActiveSupport::MessageEncryptor.new(
          [key].pack('H*'),
          cipher: 'aes-128-gcm',
        )
      end
def active_support_encryptor @active_support_encryptor ||= ActiveSupport :: MessageEncryptor . new ( [ key ] . pack ( 'H*' ) , cipher : 'aes-128-gcm' , ) end
Rails applications with an existing credentials file, the inbuilt active support encryptor should be used
Rails applications with an existing credentials file the inbuilt active support encryptor should be used
None
ActiveSupport::MessageEncryptor