Sha256: 97caf6539df058a722dddae05fe5995d0788d7be4a8d5bf2dbf6364536ad1db7
Contents?: true
Size: 456 Bytes
Versions: 6
Compression:
Stored size: 456 Bytes
Contents
module SymmetricEncryption module Generators class NewKeysGenerator < Rails::Generators::Base desc 'Generate new Symmetric key and initialization vector based on values in config/symmetric-encryption.yml' argument :environment, type: :string, optional: false def create_config_file SymmetricEncryption.generate_symmetric_key_files(File.join('config', 'symmetric-encryption.yml'), environment) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems