method
generate_key
v5.2.3 -
Show latest stable
- Class:
ActiveSupport::EncryptedFile
generate_key()public
No documentation available.
# File activesupport/lib/active_support/encrypted_file.rb, line 24
def self.generate_key
SecureRandom.hex(ActiveSupport::MessageEncryptor.key_len(CIPHER))
end