aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support.rb
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2012-07-04 12:37:31 +1200
committerMichael Koziarski <michael@koziarski.com>2012-10-01 14:22:19 +1300
commitdef2ccb8e3534e06ec1bb9c33aeee35a52b40138 (patch)
treed38907288811267ca37d9828afff26c0973226f9 /activesupport/lib/active_support.rb
parenta6cfd33865a11eefcb3431450c8f2ad2b2766066 (diff)
downloadrails-def2ccb8e3534e06ec1bb9c33aeee35a52b40138.tar.gz
rails-def2ccb8e3534e06ec1bb9c33aeee35a52b40138.tar.bz2
rails-def2ccb8e3534e06ec1bb9c33aeee35a52b40138.zip
Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2
This will be used to derive keys from the secret and a salt, in order to allow us to do things like encrypted cookie stores without using the secret for multiple purposes directly.
Diffstat (limited to 'activesupport/lib/active_support.rb')
-rw-r--r--activesupport/lib/active_support.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb
index 41d77ab6c1..4e397ea110 100644
--- a/activesupport/lib/active_support.rb
+++ b/activesupport/lib/active_support.rb
@@ -48,6 +48,7 @@ module ActiveSupport
autoload :Gzip
autoload :Inflector
autoload :JSON
+ autoload :KeyGenerator
autoload :MessageEncryptor
autoload :MessageVerifier
autoload :Multibyte