class ActiveRecord::Encryption::DerivedSecretKeyProvider
A KeyProvider
that derives keys from passwords.
Public Class Methods
new(passwords)
click to toggle source
Calls superclass method
# File lib/active_record/encryption/derived_secret_key_provider.rb, line 7 def initialize(passwords) super(Array(passwords).collect { |password| Key.derive_from(password) }) end