method

build_key_provider

Importance_0
v7.1.3.2 - 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 83
        def build_key_provider
          return DerivedSecretKeyProvider.new(@key) if @key.present?

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