Sha256: 840b7c02d884d2ad7dc5ee3a85e560a3a80232ff50c18c871cc743a8382e20d1

Contents?: true

Size: 267 Bytes

Versions: 29

Compression:

Stored size: 267 Bytes

Contents

require 'symmetric_encryption/core'

Pageflow.after_global_configure do |config|
  SymmetricEncryption.cipher = SymmetricEncryption::Cipher.new(
    key: config.encryption_options[:key],
    iv:  config.encryption_options[:iv],
    cipher_name: 'aes-128-cbc'
  )
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
pageflow-17.0.4 config/initializers/symmetric_encryption.rb
pageflow-17.0.3 config/initializers/symmetric_encryption.rb
pageflow-17.0.2 config/initializers/symmetric_encryption.rb
pageflow-17.0.1 config/initializers/symmetric_encryption.rb
pageflow-17.0.0 config/initializers/symmetric_encryption.rb
pageflow-16.2.0 config/initializers/symmetric_encryption.rb
pageflow-16.1.0 config/initializers/symmetric_encryption.rb
pageflow-16.0.0 config/initializers/symmetric_encryption.rb
pageflow-15.8.0 config/initializers/symmetric_encryption.rb
pageflow-15.7.1 config/initializers/symmetric_encryption.rb
pageflow-15.7.0 config/initializers/symmetric_encryption.rb
pageflow-15.6.1 config/initializers/symmetric_encryption.rb
pageflow-15.6.0 config/initializers/symmetric_encryption.rb
pageflow-15.5.0 config/initializers/symmetric_encryption.rb
pageflow-15.4.0 config/initializers/symmetric_encryption.rb
pageflow-15.3.0 config/initializers/symmetric_encryption.rb
pageflow-15.2.2 config/initializers/symmetric_encryption.rb
pageflow-15.2.1 config/initializers/symmetric_encryption.rb
pageflow-15.2.0 config/initializers/symmetric_encryption.rb
pageflow-15.1.2 config/initializers/symmetric_encryption.rb