method

derive_from

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Key
derive_from(password) public

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/key.rb, line 18
      def self.derive_from(password)
        secret = ActiveRecord::Encryption.key_generator.derive_key_from(password)
        ActiveRecord::Encryption::Key.new(secret)
      end
Register or log in to add new notes.