diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-11-25 20:27:54 +0100 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-11-25 20:51:30 +0100 |
commit | 07abc5efe1bc71902b0c517ef97dcb36564f2336 (patch) | |
tree | f7874f9b0a4d01e63245a637d79983f4cefbf058 /railties/lib/rails/rack | |
parent | e126e1aac07d353e10fe9871fc3fc3f040cc8911 (diff) | |
download | rails-07abc5efe1bc71902b0c517ef97dcb36564f2336.tar.gz rails-07abc5efe1bc71902b0c517ef97dcb36564f2336.tar.bz2 rails-07abc5efe1bc71902b0c517ef97dcb36564f2336.zip |
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.
Diffstat (limited to 'railties/lib/rails/rack')
0 files changed, 0 insertions, 0 deletions