method

generate_key

rails latest stable - Class: ActiveSupport::EncryptedFile
generate_key()
public

No documentation available.

# File activesupport/lib/active_support/encrypted_file.rb, line 31
    def self.generate_key
      SecureRandom.hex(ActiveSupport::MessageEncryptor.key_len(CIPHER))
    end