method

build_key_provider

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Scheme
build_key_provider() private

No documentation

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

Hide source
# File activerecord/lib/active_record/encryption/scheme.rb, line 90
        def build_key_provider
          return DerivedSecretKeyProvider.new(@key) if @key.present?

          if @deterministic && (deterministic_key = ActiveRecord::Encryption.config.deterministic_key)
            DeterministicKeyProvider.new(deterministic_key)
          end
        end
Register or log in to add new notes.