W3cubDocs

/Ruby on Rails 7.0

class ActiveRecord::Encryption::Context

Parent:
Object

An encryption context configures the different entities used to perform encryption:

  • A key provider

  • A key generator

  • An encryptor, the facade to encrypt data

  • A cipher, the encryption algorithm

  • A message serializer

Constants

PROPERTIES

Public Class Methods

new() Show source
# File activerecord/lib/active_record/encryption/context.rb, line 19
def initialize
  set_defaults
end

© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.