Sha256: 7bda4f9edc21ca2b54a7f0b98aa0684d4d78d62ac940025487f28e22b5ba161b
Contents?: true
Size: 456 Bytes
Versions: 4
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
4 entries across 4 versions & 1 rubygems