This project is archived and is in readonly mode.
Changeset [07abc5efe1bc71902b0c517ef97dcb36564f2336] by Michael Koziarski
Revision 07abc5efe1bc71902b0c517ef97dcb36564f2336,
committed by Michael Koziarski
· November 25th, 2008 @ 07:51 PM
Add a MessageEncryptor, just like MessageVerifier but using symmetric key encryption.
The use of encryption prevents people from seeing any potentially secret values you've used. It also supports and encrypt_and_sign model to prevent people from tampering with the bits and creating random junk that gets fed to
A motivated coder could use this to add an :encrypt=>true option to the cookie store. http://github.com/rails/rails/co...
4 changed files
-
M
activesupport/CHANGELOG -
M
activesupport/lib/active_support.rb -
M
activesupport/lib/active_support/message_encryptor.rb -
M
activesupport/test/message_encryptor_test.rb