class KeyGenerator
Ruby on Rails 4.0.13
Since v4.0.13KeyGenerator is a simple wrapper around OpenSSL’s implementation of PBKDF2 It can be used to derive a number of keys for various purposes from a given secret. This lets rails applications have a single secure secret, but avoid reusing that key in multiple incompatible contexts.
Inherits from
Methods (defined here)
- # generate_key
- self. new
Methods (inherited)
From Object (20)
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # present?
- # to_json
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix