method

generate_key

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: EncryptedFile
generate_key() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/encrypted_file.rb, line 31
    def self.generate_key
      SecureRandom.hex(ActiveSupport::MessageEncryptor.key_len(CIPHER))
    end
Register or log in to add new notes.