Module: Secrets::CipherHandler::ClassMethods
- Defined in:
- lib/secrets/cipher_handler.rb
Instance Method Summary collapse
Instance Method Details
#create_private_key ⇒ Object
38 39 40 41 |
# File 'lib/secrets/cipher_handler.rb', line 38 def create_private_key key = CREATE_CIPHER.call(Secrets::Configuration.property(:private_key_cipher)).random_key ::Base64.urlsafe_encode64(key) end |