lib/symmetric_encryption/railtie.rb in symmetric-encryption-3.8.3 vs lib/symmetric_encryption/railtie.rb in symmetric-encryption-3.9.0

- old
+ new

@@ -6,11 +6,11 @@ # # @example Set up configuration in the Rails app. # module MyApplication # class Application < Rails::Application # config.symmetric_encryption.cipher = SymmetricEncryption::Cipher.new( - # key: '1234567890ABCDEF1234567890ABCDEF', + # key: '1234567890ABCDEF', # iv: '1234567890ABCDEF', # cipher_name: 'aes-128-cbc' # ) # end # end @@ -24,11 +24,11 @@ # directory and configure Symmetry appropriately. # # @example symmetric-encryption.yml # # development: - # cipher_name: aes-256-cbc - # key: 1234567890ABCDEF1234567890ABCDEF + # cipher_name: aes-128-cbc + # key: 1234567890ABCDEF # iv: 1234567890ABCDEF # # Loaded before Active Record initializes since database.yml can have encrypted # passwords in it config.before_configuration do