instance method
derive_key_from
Ruby on Rails edge
Since v7.1.6 Private — implementation detail, not part of the public APISignature
derive_key_from(password, using:)
No documentation comment.
Parameters
-
passwordreq -
usingkeyreq
Source
# File activerecord/lib/active_record/encryption/derived_secret_key_provider.rb, line 12
def derive_key_from(password, using:)
secret = using.derive_key_from(password)
ActiveRecord::Encryption::Key.new(secret)
end
Defined in activerecord/lib/active_record/encryption/derived_secret_key_provider.rb line 12
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Encryption::DerivedSecretKeyProvider