Skip to Content Skip to Search

A KeyProvider that derives keys from passwords.

Methods
N

Class Public methods

new(passwords)

# File activerecord/lib/active_record/encryption/derived_secret_key_provider.rb, line 7
def initialize(passwords)
  super(Array(passwords).collect { |password| Key.derive_from(password) })
end